Lines 361-367
Link Here
|
361 |
LastSmallBarPos.x = LastSmallBarPos.y = -1; |
361 |
LastSmallBarPos.x = LastSmallBarPos.y = -1; |
362 |
|
362 |
|
363 |
// create a bitmap for the drag rendering |
363 |
// create a bitmap for the drag rendering |
364 |
#pragma message( __LOCMSG__ "Not using dither pattern" ) |
364 |
//#pragma message( __LOCMSG__ "Not using dither pattern" ) |
365 |
// WORD WindowsGray [] = { 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA } ; |
365 |
// WORD WindowsGray [] = { 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA } ; |
366 |
// BrushBitmap.CreateBitmap (8, 8, 1, 1, (LPSTR) WindowsGray) ; |
366 |
// BrushBitmap.CreateBitmap (8, 8, 1, 1, (LPSTR) WindowsGray) ; |
367 |
BrushBitmap.Create( 8, 8, 1 ); |
367 |
BrushBitmap.Create( 8, 8, 1 ); |
Lines 496-502
Link Here
|
496 |
|
496 |
|
497 |
void BaseBar::SetFormatVariables() |
497 |
void BaseBar::SetFormatVariables() |
498 |
{ |
498 |
{ |
499 |
#pragma message( __LOCMSG__ "BaseBar::SetFormatVariables - do nothing" ) |
499 |
//#pragma message( __LOCMSG__ "BaseBar::SetFormatVariables - do nothing" ) |
500 |
TRACE( _T("Warning - BaseBar::SetFormatVariables called") ); |
500 |
TRACE( _T("Warning - BaseBar::SetFormatVariables called") ); |
501 |
/* if (GetMainFrame()->GetDockBar(ParentDockBarType)->IsBigControls()) |
501 |
/* if (GetMainFrame()->GetDockBar(ParentDockBarType)->IsBigControls()) |
502 |
SeparatorWidth = LARGE_SEPARATOR; |
502 |
SeparatorWidth = LARGE_SEPARATOR; |
Lines 524-530
Link Here
|
524 |
|
524 |
|
525 |
void BaseBar::CloseCombos() |
525 |
void BaseBar::CloseCombos() |
526 |
{ |
526 |
{ |
527 |
#pragma message( __LOCMSG__ "BaseBar::CloseCombos - do nothing" ) |
527 |
//#pragma message( __LOCMSG__ "BaseBar::CloseCombos - do nothing" ) |
528 |
TRACE( _T("Warning - BaseBar::CloseCombos called") ); |
528 |
TRACE( _T("Warning - BaseBar::CloseCombos called") ); |
529 |
/* String_256 ClassNameStr; |
529 |
/* String_256 ClassNameStr; |
530 |
HWND CurrentChild; |
530 |
HWND CurrentChild; |
Lines 699-705
Link Here
|
699 |
|
699 |
|
700 |
wxRect BaseBar::GetFormatRect(DockBarType BarType) |
700 |
wxRect BaseBar::GetFormatRect(DockBarType BarType) |
701 |
{ |
701 |
{ |
702 |
#pragma message( __LOCMSG__ "BaseBar::GetFormatRect - do nothing" ) |
702 |
//#pragma message( __LOCMSG__ "BaseBar::GetFormatRect - do nothing" ) |
703 |
TRACE( _T("Warning - BaseBar::GetFormatRect called") ); |
703 |
TRACE( _T("Warning - BaseBar::GetFormatRect called") ); |
704 |
/* OILDockingBar* DockBar = GetMainFrame()->GetDockBar(BarType); |
704 |
/* OILDockingBar* DockBar = GetMainFrame()->GetDockBar(BarType); |
705 |
switch(BarType) |
705 |
switch(BarType) |
Lines 773-779
Link Here
|
773 |
|
773 |
|
774 |
DockBarType BaseBar::IsPointerOverDock(wxPoint point) |
774 |
DockBarType BaseBar::IsPointerOverDock(wxPoint point) |
775 |
{ |
775 |
{ |
776 |
#pragma message( __LOCMSG__ "BaseBar::IsPointerOverDock - do nothing" ) |
776 |
//#pragma message( __LOCMSG__ "BaseBar::IsPointerOverDock - do nothing" ) |
777 |
TRACE( _T("Warning - BaseBar::IsPointerOverDock called") ); |
777 |
TRACE( _T("Warning - BaseBar::IsPointerOverDock called") ); |
778 |
/* wxRect temp ; |
778 |
/* wxRect temp ; |
779 |
OILFixedDockingBar * ParentDockBar; |
779 |
OILFixedDockingBar * ParentDockBar; |
Lines 822-828
Link Here
|
822 |
{ |
822 |
{ |
823 |
wxRect temp; |
823 |
wxRect temp; |
824 |
|
824 |
|
825 |
#pragma message( __LOCMSG__ "BaseBar::SetBarSize - do nothing" ) |
825 |
//#pragma message( __LOCMSG__ "BaseBar::SetBarSize - do nothing" ) |
826 |
TRACE( _T("Warning - BaseBar::SetBarSize called") ); |
826 |
TRACE( _T("Warning - BaseBar::SetBarSize called") ); |
827 |
/* switch(BarType) |
827 |
/* switch(BarType) |
828 |
{ |
828 |
{ |
Lines 920-926
Link Here
|
920 |
|
920 |
|
921 |
BOOL BaseBar::Show(DialogBarOp* Op) |
921 |
BOOL BaseBar::Show(DialogBarOp* Op) |
922 |
{ |
922 |
{ |
923 |
#pragma message( __LOCMSG__ "BaseBar::Show - do nothing" ) |
923 |
//#pragma message( __LOCMSG__ "BaseBar::Show - do nothing" ) |
924 |
TRACE( _T("Warning - BaseBar::Show called") ); |
924 |
TRACE( _T("Warning - BaseBar::Show called") ); |
925 |
/* if (Op->IS_KIND_OF(InformationBarOp)) |
925 |
/* if (Op->IS_KIND_OF(InformationBarOp)) |
926 |
((InformationBarOp*)Op)->SetInfo(); |
926 |
((InformationBarOp*)Op)->SetInfo(); |
Lines 1000-1006
Link Here
|
1000 |
********************************************************************************************/ |
1000 |
********************************************************************************************/ |
1001 |
BOOL BaseBar::Hide(DialogBarOp* Op) |
1001 |
BOOL BaseBar::Hide(DialogBarOp* Op) |
1002 |
{ |
1002 |
{ |
1003 |
#pragma message( __LOCMSG__ "BaseBar::Hide - do nothing" ) |
1003 |
//#pragma message( __LOCMSG__ "BaseBar::Hide - do nothing" ) |
1004 |
TRACE( _T("Warning - BaseBar::Hide called") ); |
1004 |
TRACE( _T("Warning - BaseBar::Hide called") ); |
1005 |
/* BOOL DoTidy = DO_TIDY; |
1005 |
/* BOOL DoTidy = DO_TIDY; |
1006 |
|
1006 |
|
Lines 1038-1044
Link Here
|
1038 |
|
1038 |
|
1039 |
BOOL BaseBar::Create(DialogBarOp* Op) |
1039 |
BOOL BaseBar::Create(DialogBarOp* Op) |
1040 |
{ |
1040 |
{ |
1041 |
#pragma message( __LOCMSG__ "BaseBar::Create - do nothing" ) |
1041 |
//#pragma message( __LOCMSG__ "BaseBar::Create - do nothing" ) |
1042 |
TRACE( _T("Warning - BaseBar::Create called") ); |
1042 |
TRACE( _T("Warning - BaseBar::Create called") ); |
1043 |
/* InRecreate = TRUE; |
1043 |
/* InRecreate = TRUE; |
1044 |
pOp = Op; |
1044 |
pOp = Op; |
Lines 1223-1229
Link Here
|
1223 |
BOOL BaseBar::RecreateAt(KernelBarPos Pos,DockBarType DockBarTyp, |
1223 |
BOOL BaseBar::RecreateAt(KernelBarPos Pos,DockBarType DockBarTyp, |
1224 |
BaseBar* BaseBar, DialogBarOp* Op, wxWindow* OldHwnd) |
1224 |
BaseBar* BaseBar, DialogBarOp* Op, wxWindow* OldHwnd) |
1225 |
{ |
1225 |
{ |
1226 |
#pragma message( __LOCMSG__ "BaseBar::RecreateAt - do nothing" ) |
1226 |
//#pragma message( __LOCMSG__ "BaseBar::RecreateAt - do nothing" ) |
1227 |
TRACE( _T("Warning - BaseBar::RecreateAt called") ); |
1227 |
TRACE( _T("Warning - BaseBar::RecreateAt called") ); |
1228 |
/* LastSmallBarPos = Pos; |
1228 |
/* LastSmallBarPos = Pos; |
1229 |
pOp = Op; |
1229 |
pOp = Op; |
Lines 1343-1349
Link Here
|
1343 |
|
1343 |
|
1344 |
BOOL BaseBar::Recreate(DockBarType DockBarTyp, BaseBar* BaseBar, DialogBarOp* Op,BOOL CanCopy ) |
1344 |
BOOL BaseBar::Recreate(DockBarType DockBarTyp, BaseBar* BaseBar, DialogBarOp* Op,BOOL CanCopy ) |
1345 |
{ |
1345 |
{ |
1346 |
#pragma message( __LOCMSG__ "BaseBar::Recreate - do nothing" ) |
1346 |
//#pragma message( __LOCMSG__ "BaseBar::Recreate - do nothing" ) |
1347 |
TRACE( _T("Warning - BaseBar::Recreate called") ); |
1347 |
TRACE( _T("Warning - BaseBar::Recreate called") ); |
1348 |
/* pOp = Op; |
1348 |
/* pOp = Op; |
1349 |
ParentDockBarType = DockBarTyp; // Record the current dock ba |
1349 |
ParentDockBarType = DockBarTyp; // Record the current dock ba |
Lines 1668-1674
Link Here
|
1668 |
|
1668 |
|
1669 |
KernelBarPos * BaseBar::GetBarPosition() |
1669 |
KernelBarPos * BaseBar::GetBarPosition() |
1670 |
{ |
1670 |
{ |
1671 |
#pragma message( __LOCMSG__ "BaseBar::GetBarPosition - do nothing" ) |
1671 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarPosition - do nothing" ) |
1672 |
TRACE( _T("Warning - BaseBar::GetBarPosition called") ); |
1672 |
TRACE( _T("Warning - BaseBar::GetBarPosition called") ); |
1673 |
// return GetMainFrame()->GetDockBar(ParentDockBarType)->GetBarPos(GetSafeHwnd()); |
1673 |
// return GetMainFrame()->GetDockBar(ParentDockBarType)->GetBarPos(GetSafeHwnd()); |
1674 |
|
1674 |
|
Lines 2029-2035
Link Here
|
2029 |
|
2029 |
|
2030 |
BOOL BaseBar::FormatLineFeeds(INT32 Targetx,wxSize * pBarSize, INT32 * pNoLFs) |
2030 |
BOOL BaseBar::FormatLineFeeds(INT32 Targetx,wxSize * pBarSize, INT32 * pNoLFs) |
2031 |
{ |
2031 |
{ |
2032 |
#pragma message( __LOCMSG__ "BaseBar::FormatLineFeeds - do nothing" ) |
2032 |
//#pragma message( __LOCMSG__ "BaseBar::FormatLineFeeds - do nothing" ) |
2033 |
TRACE( _T("Warning - BaseBar::FormatLineFeeds called") ); |
2033 |
TRACE( _T("Warning - BaseBar::FormatLineFeeds called") ); |
2034 |
/* //List is empty just return |
2034 |
/* //List is empty just return |
2035 |
if (pOp->IsListEmpty()) |
2035 |
if (pOp->IsListEmpty()) |
Lines 2246-2252
Link Here
|
2246 |
|
2246 |
|
2247 |
UINT32 BaseBar::GetNearestControl(wxPoint DropPoint) |
2247 |
UINT32 BaseBar::GetNearestControl(wxPoint DropPoint) |
2248 |
{ |
2248 |
{ |
2249 |
#pragma message( __LOCMSG__ "BaseBar::GetNearestControl - do nothing" ) |
2249 |
//#pragma message( __LOCMSG__ "BaseBar::GetNearestControl - do nothing" ) |
2250 |
TRACE( _T("Warning - BaseBar::GetNearestControl called") ); |
2250 |
TRACE( _T("Warning - BaseBar::GetNearestControl called") ); |
2251 |
/* HWND hcontrol; // handle of current control |
2251 |
/* HWND hcontrol; // handle of current control |
2252 |
INT32 ControlIndex = 0; // index in bar item list |
2252 |
INT32 ControlIndex = 0; // index in bar item list |
Lines 2461-2467
Link Here
|
2461 |
{ |
2461 |
{ |
2462 |
// TRACEUSER( "Gerry", _T("FormatFloatingBar\n")); |
2462 |
// TRACEUSER( "Gerry", _T("FormatFloatingBar\n")); |
2463 |
|
2463 |
|
2464 |
#pragma message( __LOCMSG__ "BaseBar::FormatFloatingBar - do nothing" ) |
2464 |
//#pragma message( __LOCMSG__ "BaseBar::FormatFloatingBar - do nothing" ) |
2465 |
TRACE( _T("Warning - BaseBar::FormatFloatingBar called") ); |
2465 |
TRACE( _T("Warning - BaseBar::FormatFloatingBar called") ); |
2466 |
/* HWND hcontrol; |
2466 |
/* HWND hcontrol; |
2467 |
wxSize BarSize(0,0); |
2467 |
wxSize BarSize(0,0); |
Lines 2769-2775
Link Here
|
2769 |
{ |
2769 |
{ |
2770 |
// TRACEUSER( "Gerry", _T("FormatHorizontalBar\n")); |
2770 |
// TRACEUSER( "Gerry", _T("FormatHorizontalBar\n")); |
2771 |
|
2771 |
|
2772 |
#pragma message( __LOCMSG__ "BaseBar::FormatHorizontalBar - do nothing" ) |
2772 |
//#pragma message( __LOCMSG__ "BaseBar::FormatHorizontalBar - do nothing" ) |
2773 |
TRACE( _T("Warning - BaseBar::FormatHorizontalBar called") ); |
2773 |
TRACE( _T("Warning - BaseBar::FormatHorizontalBar called") ); |
2774 |
/* BOOL AtFront = TRUE; |
2774 |
/* BOOL AtFront = TRUE; |
2775 |
HWND hcontrol; |
2775 |
HWND hcontrol; |
Lines 3018-3024
Link Here
|
3018 |
BOOL BaseBar::FormatVerticalBar(BOOL MoveControls,ForceControlSize ForceSize) |
3018 |
BOOL BaseBar::FormatVerticalBar(BOOL MoveControls,ForceControlSize ForceSize) |
3019 |
{ |
3019 |
{ |
3020 |
// TRACEUSER( "Gerry", _T("FormatVerticalBar\n")); |
3020 |
// TRACEUSER( "Gerry", _T("FormatVerticalBar\n")); |
3021 |
#pragma message( __LOCMSG__ "BaseBar::FormatVerticalBar - do nothing" ) |
3021 |
//#pragma message( __LOCMSG__ "BaseBar::FormatVerticalBar - do nothing" ) |
3022 |
TRACE( _T("Warning - BaseBar::FormatVerticalBar called") ); |
3022 |
TRACE( _T("Warning - BaseBar::FormatVerticalBar called") ); |
3023 |
/* BOOL AtFront = TRUE; |
3023 |
/* BOOL AtFront = TRUE; |
3024 |
HWND hcontrol; |
3024 |
HWND hcontrol; |
Lines 3254-3260
Link Here
|
3254 |
|
3254 |
|
3255 |
HINSTANCE BaseBar::GetModuleInst(const BarControlInfo*pBarCtlInfo,UINT32 * ToolModuleID ) |
3255 |
HINSTANCE BaseBar::GetModuleInst(const BarControlInfo*pBarCtlInfo,UINT32 * ToolModuleID ) |
3256 |
{ |
3256 |
{ |
3257 |
#pragma message( __LOCMSG__ "BaseBar::GetModuleInst - do nothing" ) |
3257 |
//#pragma message( __LOCMSG__ "BaseBar::GetModuleInst - do nothing" ) |
3258 |
TRACE( _T("Warning - BaseBar::GetModuleInst called") ); |
3258 |
TRACE( _T("Warning - BaseBar::GetModuleInst called") ); |
3259 |
/* *ToolModuleID = Tool::GetModuleID(pBarCtlInfo->ToolID); |
3259 |
/* *ToolModuleID = Tool::GetModuleID(pBarCtlInfo->ToolID); |
3260 |
|
3260 |
|
Lines 3611-3617
Link Here
|
3611 |
HINSTANCE ModuleInst, |
3611 |
HINSTANCE ModuleInst, |
3612 |
UINT32 ToolModuleID) |
3612 |
UINT32 ToolModuleID) |
3613 |
{ |
3613 |
{ |
3614 |
#pragma message( __LOCMSG__ "BaseBar::GetModuleInst - do nothing" ) |
3614 |
//#pragma message( __LOCMSG__ "BaseBar::GetModuleInst - do nothing" ) |
3615 |
TRACE( _T("Warning - BaseBar::GetModuleInst called") ); |
3615 |
TRACE( _T("Warning - BaseBar::GetModuleInst called") ); |
3616 |
/* BarItemType ThisControlType = OTHERCONTROL; |
3616 |
/* BarItemType ThisControlType = OTHERCONTROL; |
3617 |
|
3617 |
|
Lines 4310-4316
Link Here
|
4310 |
|
4310 |
|
4311 |
void BaseBar::InformControlsDead() |
4311 |
void BaseBar::InformControlsDead() |
4312 |
{ |
4312 |
{ |
4313 |
#pragma message( __LOCMSG__ "BaseBar::InformControlsDead - do nothing" ) |
4313 |
//#pragma message( __LOCMSG__ "BaseBar::InformControlsDead - do nothing" ) |
4314 |
TRACE( _T("Warning - BaseBar::InformControlsDead called") ); |
4314 |
TRACE( _T("Warning - BaseBar::InformControlsDead called") ); |
4315 |
/* HWND CurrentChild; |
4315 |
/* HWND CurrentChild; |
4316 |
HWND NextChild; |
4316 |
HWND NextChild; |
Lines 4462-4468
Link Here
|
4462 |
|
4462 |
|
4463 |
void BaseBar::StartDrag(wxPoint point, DlgDragType TypeOfDrag) |
4463 |
void BaseBar::StartDrag(wxPoint point, DlgDragType TypeOfDrag) |
4464 |
{ |
4464 |
{ |
4465 |
#pragma message( __LOCMSG__ "BaseBar::StartDrag - do nothing" ) |
4465 |
//#pragma message( __LOCMSG__ "BaseBar::StartDrag - do nothing" ) |
4466 |
TRACE( _T("Warning - BaseBar::StartDrag called") ); |
4466 |
TRACE( _T("Warning - BaseBar::StartDrag called") ); |
4467 |
/*#ifdef STANDALONE |
4467 |
/*#ifdef STANDALONE |
4468 |
#ifndef EXCLUDE_GALS |
4468 |
#ifndef EXCLUDE_GALS |
Lines 4565-4571
Link Here
|
4565 |
// Message map - maintained by Class Wizard. |
4565 |
// Message map - maintained by Class Wizard. |
4566 |
|
4566 |
|
4567 |
BEGIN_EVENT_TABLE( BaseBar, wxWindow ) |
4567 |
BEGIN_EVENT_TABLE( BaseBar, wxWindow ) |
4568 |
#pragma message( __LOCMSG__ "Removed BaseBar message map" ) |
4568 |
//#pragma message( __LOCMSG__ "Removed BaseBar message map" ) |
4569 |
/* ON_WM_NCCALCSIZE() |
4569 |
/* ON_WM_NCCALCSIZE() |
4570 |
ON_WM_NCPAINT() |
4570 |
ON_WM_NCPAINT() |
4571 |
ON_WM_NCACTIVATE() |
4571 |
ON_WM_NCACTIVATE() |
Lines 4618-4624
Link Here
|
4618 |
|
4618 |
|
4619 |
static void PatB( wxDC &DC, INT32 x, INT32 y, INT32 dx, INT32 dy, wxColour &rgb ) |
4619 |
static void PatB( wxDC &DC, INT32 x, INT32 y, INT32 dx, INT32 dy, wxColour &rgb ) |
4620 |
{ |
4620 |
{ |
4621 |
#pragma message( __LOCMSG__ "PatB - do nothing" ) |
4621 |
//#pragma message( __LOCMSG__ "PatB - do nothing" ) |
4622 |
TRACE( _T("Warning - PatB called") ); |
4622 |
TRACE( _T("Warning - PatB called") ); |
4623 |
/* RECT rect; |
4623 |
/* RECT rect; |
4624 |
|
4624 |
|
Lines 4650-4656
Link Here
|
4650 |
|
4650 |
|
4651 |
void BaseBar::Paint3dPlinth(wxDC* pDC, wxRect *rect, BOOL PlinthOut) |
4651 |
void BaseBar::Paint3dPlinth(wxDC* pDC, wxRect *rect, BOOL PlinthOut) |
4652 |
{ |
4652 |
{ |
4653 |
#pragma message( __LOCMSG__ "BaseBar::Paint3dPlinth - do nothing" ) |
4653 |
//#pragma message( __LOCMSG__ "BaseBar::Paint3dPlinth - do nothing" ) |
4654 |
TRACE( _T("Warning - BaseBar::Paint3dPlinth called") ); |
4654 |
TRACE( _T("Warning - BaseBar::Paint3dPlinth called") ); |
4655 |
/* if((LOBYTE(LOWORD(GetVersion()))) > 3 ) |
4655 |
/* if((LOBYTE(LOWORD(GetVersion()))) > 3 ) |
4656 |
{ |
4656 |
{ |
Lines 4767-4773
Link Here
|
4767 |
********************************************************************************************/ |
4767 |
********************************************************************************************/ |
4768 |
|
4768 |
|
4769 |
|
4769 |
|
4770 |
#pragma message( __LOCMSG__ "BaseBar::OnDrawItem removed" ) |
4770 |
//#pragma message( __LOCMSG__ "BaseBar::OnDrawItem removed" ) |
4771 |
/*void BaseBar::OnDrawItem( INT32 nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct ) |
4771 |
/*void BaseBar::OnDrawItem( INT32 nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct ) |
4772 |
{ |
4772 |
{ |
4773 |
// owner drawn text button |
4773 |
// owner drawn text button |
Lines 4844-4850
Link Here
|
4844 |
|
4844 |
|
4845 |
********************************************************************************************/ |
4845 |
********************************************************************************************/ |
4846 |
|
4846 |
|
4847 |
#pragma message( __LOCMSG__ "BaseBar::OnParentNotify removed" ) |
4847 |
//#pragma message( __LOCMSG__ "BaseBar::OnParentNotify removed" ) |
4848 |
/*void BaseBar::OnParentNotify( UINT32 message, LPARAM lParam ) |
4848 |
/*void BaseBar::OnParentNotify( UINT32 message, LPARAM lParam ) |
4849 |
{ |
4849 |
{ |
4850 |
if(message == WM_LBUTTONDOWN) |
4850 |
if(message == WM_LBUTTONDOWN) |
Lines 4885-4891
Link Here
|
4885 |
|
4885 |
|
4886 |
********************************************************************************************/ |
4886 |
********************************************************************************************/ |
4887 |
|
4887 |
|
4888 |
#pragma message( __LOCMSG__ "BaseBar::OnKillFocus removed" ) |
4888 |
//#pragma message( __LOCMSG__ "BaseBar::OnKillFocus removed" ) |
4889 |
/*void BaseBar::OnKillFocus( wxWindow*Wnd ) |
4889 |
/*void BaseBar::OnKillFocus( wxWindow*Wnd ) |
4890 |
{ |
4890 |
{ |
4891 |
wxWindow::OnKillFocus(Wnd); |
4891 |
wxWindow::OnKillFocus(Wnd); |
Lines 4908-4914
Link Here
|
4908 |
********************************************************************************************/ |
4908 |
********************************************************************************************/ |
4909 |
|
4909 |
|
4910 |
|
4910 |
|
4911 |
#pragma message( __LOCMSG__ "BaseBar::OnSetFocus removed" ) |
4911 |
//#pragma message( __LOCMSG__ "BaseBar::OnSetFocus removed" ) |
4912 |
/*void BaseBar::OnSetFocus( wxWindow * Wnd ) |
4912 |
/*void BaseBar::OnSetFocus( wxWindow * Wnd ) |
4913 |
{ |
4913 |
{ |
4914 |
wxWindow::OnSetFocus(Wnd); |
4914 |
wxWindow::OnSetFocus(Wnd); |
Lines 4930-4936
Link Here
|
4930 |
|
4930 |
|
4931 |
********************************************************************************************/ |
4931 |
********************************************************************************************/ |
4932 |
|
4932 |
|
4933 |
#pragma message( __LOCMSG__ "BaseBar::OnActivateApp removed" ) |
4933 |
//#pragma message( __LOCMSG__ "BaseBar::OnActivateApp removed" ) |
4934 |
/*void BaseBar::OnActivateApp( BOOL bActive, HTASK hTask ) |
4934 |
/*void BaseBar::OnActivateApp( BOOL bActive, HTASK hTask ) |
4935 |
{ |
4935 |
{ |
4936 |
|
4936 |
|
Lines 4965-4971
Link Here
|
4965 |
|
4965 |
|
4966 |
********************************************************************************************/ |
4966 |
********************************************************************************************/ |
4967 |
|
4967 |
|
4968 |
#pragma message( __LOCMSG__ "BaseBar::OnActivate removed" ) |
4968 |
//#pragma message( __LOCMSG__ "BaseBar::OnActivate removed" ) |
4969 |
/*void BaseBar::OnActivate( UINT32 State, wxWindow* pWndOther, BOOL bMinimized ) |
4969 |
/*void BaseBar::OnActivate( UINT32 State, wxWindow* pWndOther, BOOL bMinimized ) |
4970 |
{ |
4970 |
{ |
4971 |
|
4971 |
|
Lines 5003-5009
Link Here
|
5003 |
|
5003 |
|
5004 |
********************************************************************************************/ |
5004 |
********************************************************************************************/ |
5005 |
|
5005 |
|
5006 |
#pragma message( __LOCMSG__ "BaseBar::OnMouseActivate removed" ) |
5006 |
//#pragma message( __LOCMSG__ "BaseBar::OnMouseActivate removed" ) |
5007 |
/*INT32 BaseBar::OnMouseActivate( wxWindow* pDesktopWnd, UINT32 nHitTest, UINT32 message ) |
5007 |
/*INT32 BaseBar::OnMouseActivate( wxWindow* pDesktopWnd, UINT32 nHitTest, UINT32 message ) |
5008 |
{ |
5008 |
{ |
5009 |
|
5009 |
|
Lines 5052-5058
Link Here
|
5052 |
|
5052 |
|
5053 |
********************************************************************************************/ |
5053 |
********************************************************************************************/ |
5054 |
|
5054 |
|
5055 |
#pragma message( __LOCMSG__ "BaseBar::OnDestroy removed" ) |
5055 |
//#pragma message( __LOCMSG__ "BaseBar::OnDestroy removed" ) |
5056 |
/*void BaseBar ::OnDestroy( ) |
5056 |
/*void BaseBar ::OnDestroy( ) |
5057 |
{ |
5057 |
{ |
5058 |
|
5058 |
|
Lines 5104-5110
Link Here
|
5104 |
|
5104 |
|
5105 |
********************************************************************************************/ |
5105 |
********************************************************************************************/ |
5106 |
|
5106 |
|
5107 |
#pragma message( __LOCMSG__ "BaseBar::ListLostFocus removed" ) |
5107 |
//#pragma message( __LOCMSG__ "BaseBar::ListLostFocus removed" ) |
5108 |
/*void BaseBar::ListLostFocus(void) |
5108 |
/*void BaseBar::ListLostFocus(void) |
5109 |
{ |
5109 |
{ |
5110 |
|
5110 |
|
Lines 5126-5132
Link Here
|
5126 |
|
5126 |
|
5127 |
********************************************************************************************/ |
5127 |
********************************************************************************************/ |
5128 |
|
5128 |
|
5129 |
#pragma message( __LOCMSG__ "BaseBar::ListSelChanged removed" ) |
5129 |
//#pragma message( __LOCMSG__ "BaseBar::ListSelChanged removed" ) |
5130 |
/*void BaseBar::ListSelChanged(void) |
5130 |
/*void BaseBar::ListSelChanged(void) |
5131 |
{ |
5131 |
{ |
5132 |
// if( pOp->IsKindOf(CC_RUNTIME_CLASS(SuperGallery)) ) |
5132 |
// if( pOp->IsKindOf(CC_RUNTIME_CLASS(SuperGallery)) ) |
Lines 5150-5156
Link Here
|
5150 |
|
5150 |
|
5151 |
********************************************************************************************/ |
5151 |
********************************************************************************************/ |
5152 |
|
5152 |
|
5153 |
#pragma message( __LOCMSG__ "BaseBar::DoResize removed" ) |
5153 |
//#pragma message( __LOCMSG__ "BaseBar::DoResize removed" ) |
5154 |
/*LRESULT BaseBar::DoResize(WPARAM , LPARAM) |
5154 |
/*LRESULT BaseBar::DoResize(WPARAM , LPARAM) |
5155 |
{ |
5155 |
{ |
5156 |
// ZZZZ |
5156 |
// ZZZZ |
Lines 5226-5232
Link Here
|
5226 |
|
5226 |
|
5227 |
********************************************************************************************/ |
5227 |
********************************************************************************************/ |
5228 |
|
5228 |
|
5229 |
#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5229 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5230 |
/*LRESULT BaseBar::GetBarSize(WPARAM DockType , LPARAM ControlS) |
5230 |
/*LRESULT BaseBar::GetBarSize(WPARAM DockType , LPARAM ControlS) |
5231 |
{ |
5231 |
{ |
5232 |
DockBarType ThisDock = (DockBarType) DockType; |
5232 |
DockBarType ThisDock = (DockBarType) DockType; |
Lines 5275-5281
Link Here
|
5275 |
{ |
5275 |
{ |
5276 |
wxRect ReturnRect(0,0,0,0); |
5276 |
wxRect ReturnRect(0,0,0,0); |
5277 |
|
5277 |
|
5278 |
#pragma message( __LOCMSG__ "BaseBar::GetBarsDims - do nothing" ) |
5278 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarsDims - do nothing" ) |
5279 |
TRACE( _T("Warning - BaseBar::GetBarsDims called") ); |
5279 |
TRACE( _T("Warning - BaseBar::GetBarsDims called") ); |
5280 |
/* OILDockingBar* FloatBars = GetMainFrame ()->GetDockBar (DockBarType);//DOCKBAR_FLOAT); |
5280 |
/* OILDockingBar* FloatBars = GetMainFrame ()->GetDockBar (DockBarType);//DOCKBAR_FLOAT); |
5281 |
BOOL BigControls = FloatBars->IsBigControls (); |
5281 |
BOOL BigControls = FloatBars->IsBigControls (); |
Lines 5323-5329
Link Here
|
5323 |
|
5323 |
|
5324 |
********************************************************************************************/ |
5324 |
********************************************************************************************/ |
5325 |
|
5325 |
|
5326 |
#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5326 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5327 |
/*LRESULT BaseBar::SetControlFocus(WPARAM State, LPARAM Hwnd) |
5327 |
/*LRESULT BaseBar::SetControlFocus(WPARAM State, LPARAM Hwnd) |
5328 |
{ |
5328 |
{ |
5329 |
if (State == TRUE) |
5329 |
if (State == TRUE) |
Lines 5375-5381
Link Here
|
5375 |
|
5375 |
|
5376 |
********************************************************************************************/ |
5376 |
********************************************************************************************/ |
5377 |
|
5377 |
|
5378 |
#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5378 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5379 |
/*LRESULT BaseBar::StartControlDrag(WPARAM State, LPARAM Hwnd) |
5379 |
/*LRESULT BaseBar::StartControlDrag(WPARAM State, LPARAM Hwnd) |
5380 |
{ |
5380 |
{ |
5381 |
#ifdef STANDALONE |
5381 |
#ifdef STANDALONE |
Lines 5446-5452
Link Here
|
5446 |
#endif |
5446 |
#endif |
5447 |
} */ |
5447 |
} */ |
5448 |
|
5448 |
|
5449 |
#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5449 |
//#pragma message( __LOCMSG__ "BaseBar::GetBarSize removed" ) |
5450 |
/*LRESULT BaseBar::EndControlDrag(WPARAM State, LPARAM Hwnd) |
5450 |
/*LRESULT BaseBar::EndControlDrag(WPARAM State, LPARAM Hwnd) |
5451 |
{ |
5451 |
{ |
5452 |
return 0; |
5452 |
return 0; |
Lines 5515-5521
Link Here
|
5515 |
|
5515 |
|
5516 |
LRESULT BaseBar::WindowProc( UINT32 Message, WPARAM wParam, LPARAM lParam ) |
5516 |
LRESULT BaseBar::WindowProc( UINT32 Message, WPARAM wParam, LPARAM lParam ) |
5517 |
{ |
5517 |
{ |
5518 |
#pragma message( __LOCMSG__ "BaseBar::WindowProc - do nothing" ) |
5518 |
//#pragma message( __LOCMSG__ "BaseBar::WindowProc - do nothing" ) |
5519 |
TRACE( _T("Warning - BaseBar::WindowProc called") ); |
5519 |
TRACE( _T("Warning - BaseBar::WindowProc called") ); |
5520 |
/* // First send the message to the dialog manager |
5520 |
/* // First send the message to the dialog manager |
5521 |
DialogManager::SendDialogMessage(this, |
5521 |
DialogManager::SendDialogMessage(this, |
Lines 5580-5586
Link Here
|
5580 |
Scope: Protected |
5580 |
Scope: Protected |
5581 |
|
5581 |
|
5582 |
********************************************************************************************/ |
5582 |
********************************************************************************************/ |
5583 |
#pragma message( __LOCMSG__ "BaseBar::OnNcCalcSize removed" ) |
5583 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcCalcSize removed" ) |
5584 |
/*void BaseBar::OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp) |
5584 |
/*void BaseBar::OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp) |
5585 |
{ |
5585 |
{ |
5586 |
// So that we are compatible with different screen modes we will paint the non-client area |
5586 |
// So that we are compatible with different screen modes we will paint the non-client area |
Lines 5619-5625
Link Here
|
5619 |
Scope: Protected |
5619 |
Scope: Protected |
5620 |
|
5620 |
|
5621 |
********************************************************************************************/ |
5621 |
********************************************************************************************/ |
5622 |
#pragma message( __LOCMSG__ "BaseBar::OnNcPaint removed" ) |
5622 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcPaint removed" ) |
5623 |
/*void BaseBar::OnNcPaint() |
5623 |
/*void BaseBar::OnNcPaint() |
5624 |
{ |
5624 |
{ |
5625 |
|
5625 |
|
Lines 5667-5673
Link Here
|
5667 |
#define ROP_PSDPxax 0x00B8074AL |
5667 |
#define ROP_PSDPxax 0x00B8074AL |
5668 |
|
5668 |
|
5669 |
|
5669 |
|
5670 |
#pragma message( __LOCMSG__ "BaseBar::PlotStretchedMaskedBitmap removed" ) |
5670 |
//#pragma message( __LOCMSG__ "BaseBar::PlotStretchedMaskedBitmap removed" ) |
5671 |
/*BOOL BaseBar::PlotStretchedMaskedBitmap(wxDC* destDC, CBitmap* srcBitmap,wxRect Pos) |
5671 |
/*BOOL BaseBar::PlotStretchedMaskedBitmap(wxDC* destDC, CBitmap* srcBitmap,wxRect Pos) |
5672 |
{ |
5672 |
{ |
5673 |
|
5673 |
|
Lines 5958-5964
Link Here
|
5958 |
// make sure that DrawCaption shows the correct title |
5958 |
// make sure that DrawCaption shows the correct title |
5959 |
SetLabel( pOp->GetName() ); |
5959 |
SetLabel( pOp->GetName() ); |
5960 |
|
5960 |
|
5961 |
#pragma message( __LOCMSG__ "Remove MSW frame redrawing stuff" ) |
5961 |
//#pragma message( __LOCMSG__ "Remove MSW frame redrawing stuff" ) |
5962 |
/* UINT32 DrawFlags = DC_TEXT|DC_SMALLCAP; |
5962 |
/* UINT32 DrawFlags = DC_TEXT|DC_SMALLCAP; |
5963 |
|
5963 |
|
5964 |
if(IsActive) |
5964 |
if(IsActive) |
Lines 5991-5997
Link Here
|
5991 |
|
5991 |
|
5992 |
void BaseBar::PaintDialogNonClient(BOOL IsActive) |
5992 |
void BaseBar::PaintDialogNonClient(BOOL IsActive) |
5993 |
{ |
5993 |
{ |
5994 |
#pragma message( __LOCMSG__ "BaseBar::PaintDialogNonClient - do nothing" ) |
5994 |
//#pragma message( __LOCMSG__ "BaseBar::PaintDialogNonClient - do nothing" ) |
5995 |
TRACE( _T("Warning - BaseBar::PaintDialogNonClient called") ); |
5995 |
TRACE( _T("Warning - BaseBar::PaintDialogNonClient called") ); |
5996 |
/* // Get the System Frame Size |
5996 |
/* // Get the System Frame Size |
5997 |
BorderWidth=wxSystemSettings::GetMetric(SM_CXFRAME); |
5997 |
BorderWidth=wxSystemSettings::GetMetric(SM_CXFRAME); |
Lines 6222-6228
Link Here
|
6222 |
|
6222 |
|
6223 |
********************************************************************************************/ |
6223 |
********************************************************************************************/ |
6224 |
|
6224 |
|
6225 |
#pragma message( __LOCMSG__ "BaseBar::OnNcPaint removed" ) |
6225 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcPaint removed" ) |
6226 |
/*BOOL BaseBar::OnNcActivate(BOOL IsActive) |
6226 |
/*BOOL BaseBar::OnNcActivate(BOOL IsActive) |
6227 |
{ |
6227 |
{ |
6228 |
|
6228 |
|
Lines 6243-6249
Link Here
|
6243 |
|
6243 |
|
6244 |
********************************************************************************************/ |
6244 |
********************************************************************************************/ |
6245 |
|
6245 |
|
6246 |
#pragma message( __LOCMSG__ "BaseBar::OnPaint removed" ) |
6246 |
//#pragma message( __LOCMSG__ "BaseBar::OnPaint removed" ) |
6247 |
/*void BaseBar::OnPaint() |
6247 |
/*void BaseBar::OnPaint() |
6248 |
{ |
6248 |
{ |
6249 |
wxPaintDC PaintDC(this); // device context for painting |
6249 |
wxPaintDC PaintDC(this); // device context for painting |
Lines 6282-6288
Link Here
|
6282 |
|
6282 |
|
6283 |
void BaseBar::PaintChicagoBorder() |
6283 |
void BaseBar::PaintChicagoBorder() |
6284 |
{ |
6284 |
{ |
6285 |
#pragma message( __LOCMSG__ "BaseBar::PaintChicagoBorder - do nothing" ) |
6285 |
//#pragma message( __LOCMSG__ "BaseBar::PaintChicagoBorder - do nothing" ) |
6286 |
TRACE( _T("Warning - BaseBar::PaintChicagoBorder called") ); |
6286 |
TRACE( _T("Warning - BaseBar::PaintChicagoBorder called") ); |
6287 |
/* wxRect WinRect( GetClientRect() ); |
6287 |
/* wxRect WinRect( GetClientRect() ); |
6288 |
wxRect ParWin( GetParent()->GetRect() ); |
6288 |
wxRect ParWin( GetParent()->GetRect() ); |
Lines 6343-6349
Link Here
|
6343 |
|
6343 |
|
6344 |
********************************************************************************************/ |
6344 |
********************************************************************************************/ |
6345 |
|
6345 |
|
6346 |
#pragma message( __LOCMSG__ "BaseBar::OnNcHitTest removed" ) |
6346 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcHitTest removed" ) |
6347 |
/*UINT32 BaseBar::OnNcHitTest(wxPoint point) |
6347 |
/*UINT32 BaseBar::OnNcHitTest(wxPoint point) |
6348 |
{ |
6348 |
{ |
6349 |
|
6349 |
|
Lines 6434-6440
Link Here
|
6434 |
|
6434 |
|
6435 |
********************************************************************************************/ |
6435 |
********************************************************************************************/ |
6436 |
|
6436 |
|
6437 |
#pragma message( __LOCMSG__ "BaseBar::OnNcRButtonDown removed" ) |
6437 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcRButtonDown removed" ) |
6438 |
/*void BaseBar::OnNcRButtonDown(UINT32 nHitTest, wxPoint point) |
6438 |
/*void BaseBar::OnNcRButtonDown(UINT32 nHitTest, wxPoint point) |
6439 |
{ |
6439 |
{ |
6440 |
} */ |
6440 |
} */ |
Lines 6454-6460
Link Here
|
6454 |
|
6454 |
|
6455 |
********************************************************************************************/ |
6455 |
********************************************************************************************/ |
6456 |
|
6456 |
|
6457 |
#pragma message( __LOCMSG__ "BaseBar::OnNcHitTest removed" ) |
6457 |
//#pragma message( __LOCMSG__ "BaseBar::OnNcHitTest removed" ) |
6458 |
/*void BaseBar::OnNcHitTest(UINT32 nHitTest, wxPoint point) |
6458 |
/*void BaseBar::OnNcHitTest(UINT32 nHitTest, wxPoint point) |
6459 |
{ |
6459 |
{ |
6460 |
|
6460 |
|
Lines 6477-6483
Link Here
|
6477 |
|
6477 |
|
6478 |
********************************************************************************************/ |
6478 |
********************************************************************************************/ |
6479 |
|
6479 |
|
6480 |
#pragma message( __LOCMSG__ "BaseBar::OnLButtonDown removed" ) |
6480 |
//#pragma message( __LOCMSG__ "BaseBar::OnLButtonDown removed" ) |
6481 |
/*void BaseBar::OnLButtonDown(UINT32 nFlags, wxPoint point) |
6481 |
/*void BaseBar::OnLButtonDown(UINT32 nFlags, wxPoint point) |
6482 |
{ |
6482 |
{ |
6483 |
// make sure we're not clicking on a disabled button |
6483 |
// make sure we're not clicking on a disabled button |
Lines 6526-6532
Link Here
|
6526 |
|
6526 |
|
6527 |
********************************************************************************************/ |
6527 |
********************************************************************************************/ |
6528 |
|
6528 |
|
6529 |
#pragma message( __LOCMSG__ "BaseBar::OnMouseWheel removed" ) |
6529 |
//#pragma message( __LOCMSG__ "BaseBar::OnMouseWheel removed" ) |
6530 |
/*BOOL BaseBar::OnMouseWheel(UINT32 nFlags, short zDelta, wxPoint pt) |
6530 |
/*BOOL BaseBar::OnMouseWheel(UINT32 nFlags, short zDelta, wxPoint pt) |
6531 |
{ |
6531 |
{ |
6532 |
TRACEUSER( "Matt", _T("MouseWheel Scroll In BaseBar!\n")); |
6532 |
TRACEUSER( "Matt", _T("MouseWheel Scroll In BaseBar!\n")); |
Lines 6548-6554
Link Here
|
6548 |
|
6548 |
|
6549 |
********************************************************************************************/ |
6549 |
********************************************************************************************/ |
6550 |
|
6550 |
|
6551 |
#pragma message( __LOCMSG__ "BaseBar::OnLButtonDblClk removed" ) |
6551 |
//#pragma message( __LOCMSG__ "BaseBar::OnLButtonDblClk removed" ) |
6552 |
/*void BaseBar::OnLButtonDblClk( UINT32 nFlags, wxPoint point ) |
6552 |
/*void BaseBar::OnLButtonDblClk( UINT32 nFlags, wxPoint point ) |
6553 |
{ |
6553 |
{ |
6554 |
//MessageBeep(MB_OK); |
6554 |
//MessageBeep(MB_OK); |
Lines 6825-6831
Link Here
|
6825 |
********************************************************************************************/ |
6825 |
********************************************************************************************/ |
6826 |
BOOL BaseBar::TidyUpControlDrag() |
6826 |
BOOL BaseBar::TidyUpControlDrag() |
6827 |
{ |
6827 |
{ |
6828 |
#pragma message( __LOCMSG__ "BaseBar::TidyUpControlDrag - do nothing" ) |
6828 |
//#pragma message( __LOCMSG__ "BaseBar::TidyUpControlDrag - do nothing" ) |
6829 |
TRACE( _T("Warning - BaseBar::TidyUpControlDrag called") ); |
6829 |
TRACE( _T("Warning - BaseBar::TidyUpControlDrag called") ); |
6830 |
/* CtlDragState = NO_DRAG; |
6830 |
/* CtlDragState = NO_DRAG; |
6831 |
DragManagerOp::SetDragActive(FALSE); |
6831 |
DragManagerOp::SetDragActive(FALSE); |
Lines 6880-6886
Link Here
|
6880 |
InRecreate = FALSE; |
6880 |
InRecreate = FALSE; |
6881 |
CurrentBar = NULL; |
6881 |
CurrentBar = NULL; |
6882 |
|
6882 |
|
6883 |
#pragma message( __LOCMSG__ "Remove DragManagerOp::SetDragActive usage" ) |
6883 |
//#pragma message( __LOCMSG__ "Remove DragManagerOp::SetDragActive usage" ) |
6884 |
// DragManagerOp::SetDragActive(FALSE); |
6884 |
// DragManagerOp::SetDragActive(FALSE); |
6885 |
return TRUE; |
6885 |
return TRUE; |
6886 |
} |
6886 |
} |
Lines 6903-6909
Link Here
|
6903 |
********************************************************************************************/ |
6903 |
********************************************************************************************/ |
6904 |
BOOL BaseBar::DropControl(wxPoint point, wxWindow* OverBar,BOOL InsertSeparator) |
6904 |
BOOL BaseBar::DropControl(wxPoint point, wxWindow* OverBar,BOOL InsertSeparator) |
6905 |
{ |
6905 |
{ |
6906 |
#pragma message( __LOCMSG__ "BaseBar::DropControl - do nothing" ) |
6906 |
//#pragma message( __LOCMSG__ "BaseBar::DropControl - do nothing" ) |
6907 |
TRACE( _T("Warning - BaseBar::DropControl called") ); |
6907 |
TRACE( _T("Warning - BaseBar::DropControl called") ); |
6908 |
/* BOOL DeleteSeparator = FALSE; |
6908 |
/* BOOL DeleteSeparator = FALSE; |
6909 |
|
6909 |
|
Lines 7096-7102
Link Here
|
7096 |
********************************************************************************************/ |
7096 |
********************************************************************************************/ |
7097 |
BOOL BaseBar::EndControlDrag(wxPoint point) |
7097 |
BOOL BaseBar::EndControlDrag(wxPoint point) |
7098 |
{ |
7098 |
{ |
7099 |
#pragma message( __LOCMSG__ "BaseBar::EndControlDrag - do nothing" ) |
7099 |
//#pragma message( __LOCMSG__ "BaseBar::EndControlDrag - do nothing" ) |
7100 |
TRACE( _T("Warning - BaseBar::EndControlDrag called") ); |
7100 |
TRACE( _T("Warning - BaseBar::EndControlDrag called") ); |
7101 |
/* // go to screen co-ords - we may be dropping on a different bar |
7101 |
/* // go to screen co-ords - we may be dropping on a different bar |
7102 |
wxPoint sPnt= point; |
7102 |
wxPoint sPnt= point; |
Lines 7249-7255
Link Here
|
7249 |
SeeAlso: - |
7249 |
SeeAlso: - |
7250 |
|
7250 |
|
7251 |
********************************************************************************************/ |
7251 |
********************************************************************************************/ |
7252 |
#pragma message( __LOCMSG__ "BaseBar::OnLButtonUp removed" ) |
7252 |
//#pragma message( __LOCMSG__ "BaseBar::OnLButtonUp removed" ) |
7253 |
/*void BaseBar::OnLButtonUp(UINT32 nFlags, wxPoint point) |
7253 |
/*void BaseBar::OnLButtonUp(UINT32 nFlags, wxPoint point) |
7254 |
{ |
7254 |
{ |
7255 |
if(CtlDragState == DRAGGING) |
7255 |
if(CtlDragState == DRAGGING) |
Lines 7364-7370
Link Here
|
7364 |
|
7364 |
|
7365 |
void BaseBar::ConvertToolbarOnStartup () |
7365 |
void BaseBar::ConvertToolbarOnStartup () |
7366 |
{ |
7366 |
{ |
7367 |
#pragma message( __LOCMSG__ "BaseBar::ConvertToolbarOnStartup - do nothing" ) |
7367 |
//#pragma message( __LOCMSG__ "BaseBar::ConvertToolbarOnStartup - do nothing" ) |
7368 |
TRACE( _T("Warning - BaseBar::ConvertToolbarOnStartup called") ); |
7368 |
TRACE( _T("Warning - BaseBar::ConvertToolbarOnStartup called") ); |
7369 |
/* ERROR3IF (pOp->GetName () != String_32 (TEXT ("Toolbar")), "BaseBar::ConvertToolbarOnStartup () - Call that a toolbar!"); |
7369 |
/* ERROR3IF (pOp->GetName () != String_32 (TEXT ("Toolbar")), "BaseBar::ConvertToolbarOnStartup () - Call that a toolbar!"); |
7370 |
|
7370 |
|
Lines 7411-7417
Link Here
|
7411 |
|
7411 |
|
7412 |
********************************************************************************************/ |
7412 |
********************************************************************************************/ |
7413 |
|
7413 |
|
7414 |
#pragma message( __LOCMSG__ "BaseBar::MoveBar removed" ) |
7414 |
//#pragma message( __LOCMSG__ "BaseBar::MoveBar removed" ) |
7415 |
/*LRESULT BaseBar::MoveBar(WPARAM Dock, LPARAM Pos) |
7415 |
/*LRESULT BaseBar::MoveBar(WPARAM Dock, LPARAM Pos) |
7416 |
{ |
7416 |
{ |
7417 |
DockBarType NewDockType = (DockBarType)Dock; |
7417 |
DockBarType NewDockType = (DockBarType)Dock; |
Lines 7476-7482
Link Here
|
7476 |
SeeAlso: - |
7476 |
SeeAlso: - |
7477 |
|
7477 |
|
7478 |
********************************************************************************************/ |
7478 |
********************************************************************************************/ |
7479 |
#pragma message( __LOCMSG__ "BaseBar::OnMouseMove removed" ) |
7479 |
//#pragma message( __LOCMSG__ "BaseBar::OnMouseMove removed" ) |
7480 |
/*void BaseBar::OnMouseMove(UINT32 Flags, wxPoint Point) |
7480 |
/*void BaseBar::OnMouseMove(UINT32 Flags, wxPoint Point) |
7481 |
{ |
7481 |
{ |
7482 |
if(CtlDragState == DRAGGING) |
7482 |
if(CtlDragState == DRAGGING) |
Lines 7532-7538
Link Here
|
7532 |
|
7532 |
|
7533 |
void BaseBar::CacheAllDockRects() |
7533 |
void BaseBar::CacheAllDockRects() |
7534 |
{ |
7534 |
{ |
7535 |
#pragma message( __LOCMSG__ "BaseBar::CacheAllDockRects - do nothing" ) |
7535 |
//#pragma message( __LOCMSG__ "BaseBar::CacheAllDockRects - do nothing" ) |
7536 |
TRACE( _T("Warning - BaseBar::CacheAllDockRects called") ); |
7536 |
TRACE( _T("Warning - BaseBar::CacheAllDockRects called") ); |
7537 |
/* OILFixedDockingBar* DockBar; |
7537 |
/* OILFixedDockingBar* DockBar; |
7538 |
|
7538 |
|
Lines 7789-7795
Link Here
|
7789 |
} |
7789 |
} |
7790 |
|
7790 |
|
7791 |
// MFC DrawDragRect function |
7791 |
// MFC DrawDragRect function |
7792 |
#pragma message( __LOCMSG__ "Remove DrawDragRect usage" ) |
7792 |
//#pragma message( __LOCMSG__ "Remove DrawDragRect usage" ) |
7793 |
// pDisplayDC->DrawDragRect( &Rect, NewSize, &OldRect, OldSize ); |
7793 |
// pDisplayDC->DrawDragRect( &Rect, NewSize, &OldRect, OldSize ); |
7794 |
|
7794 |
|
7795 |
/* |
7795 |
/* |
Lines 7847-7853
Link Here
|
7847 |
|
7847 |
|
7848 |
void BaseBar::PaintXORDragRect(wxRect Rect,DockBarType DockBar) |
7848 |
void BaseBar::PaintXORDragRect(wxRect Rect,DockBarType DockBar) |
7849 |
{ |
7849 |
{ |
7850 |
#pragma message( __LOCMSG__ "Remove DC::PatBlt usage" ) |
7850 |
//#pragma message( __LOCMSG__ "Remove DC::PatBlt usage" ) |
7851 |
/* DWORD dwRop = PATINVERT; |
7851 |
/* DWORD dwRop = PATINVERT; |
7852 |
|
7852 |
|
7853 |
wxScreenDC DisplayDC; |
7853 |
wxScreenDC DisplayDC; |