: mpFrame ( NULL ),
mpFrameClient( NULL ),
- mDarkPen ( wxColour(128,128,128), 1, wxSOLID ),
- mLightPen ( wxColour(255,255,255), 1, wxSOLID ),
- mGrayPen ( wxColour(192,192,192), 1, wxSOLID ),
+ mDarkPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DSHADOW), 1, wxSOLID ),
+ mLightPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DHILIGHT), 1, wxSOLID ),
+ mGrayPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE), 1, wxSOLID ),
mBlackPen ( wxColour( 0, 0, 0), 1, wxSOLID ),
- mBorderPen( wxColour(192,192,192), 1, wxSOLID ),
+ mBorderPen( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE), 1, wxSOLID ),
mpPaneInFocus( NULL ),
mpLRUPane ( NULL ),
mpTopPlugin ( NULL ),
mpCaputesInput( NULL ),
- mRecalcPending( TRUE ),
mCheckFocusWhenIdle( FALSE ),
+ mRecalcPending( TRUE ),
mClientWndRefreshPending( FALSE )
{
CreateCursors();
: mpFrame( pParentFrame ),
mpFrameClient(pFrameClient),
- mDarkPen ( wxColour(128,128,128), 1, wxSOLID ),
- mLightPen ( wxColour(255,255,255), 1, wxSOLID ),
- mGrayPen ( wxColour(192,192,192), 1, wxSOLID ),
+ mDarkPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DSHADOW), 1, wxSOLID ),
+ mLightPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DHILIGHT), 1, wxSOLID ),
+ mGrayPen ( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE), 1, wxSOLID ),
mBlackPen ( wxColour( 0, 0, 0), 1, wxSOLID ),
- mBorderPen( wxColour(192,192,192), 1, wxSOLID ),
+ mBorderPen( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE), 1, wxSOLID ),
mpPaneInFocus( NULL ),
mpLRUPane ( NULL ),
// DBG:: set RED color of frame's background for the
// prurpose of tracking engine bugs "visually"
- GetParentFrame().SetBackgroundColour( wxColour(192,192,192) );
+ GetParentFrame().SetBackgroundColour( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE) );
}
mFloatingOn = CanReparent();
void wxFrameLayout::ReparentWindow( wxWindow* pChild, wxWindow* pNewParent )
{
#ifdef __WXMSW__
+#if 0
if ( pChild->GetParent() )
{
pNewParent->GetChildren().Append( pChild );
pChild->SetParent( pNewParent );
+#endif
+ pChild->Reparent(pNewParent);
return;
#endif
return;
- pChild->ReParent( pNewParent );
+ //pChild->ReParent( pNewParent );
- return;
+ //return;
#endif
wxMessageBox( "Sorry, docking is not supported for ports other than MSW and wxGTK" );
pMiniFrm->Create( &GetParentFrame(), -1, pBar->mName,
wxPoint( 50,50 ),
wxSize ( 0, 0 ),
- wxSTAY_ON_TOP //| wxTHICK_FRAME
+ wxFRAME_FLOAT_ON_PARENT | wxFRAME_TOOL_WINDOW
);
pMiniFrm->SetClient( pBar->mpBarWnd );
{
// FIXME:: to much of the stuff for the default...
- AddPlugin( CLASSINFO( cbSimpleCustomizationPlugin ) );
AddPlugin( CLASSINFO( cbRowLayoutPlugin ) );
AddPlugin( CLASSINFO( cbBarDragPlugin ) );
AddPlugin( CLASSINFO( cbPaneDrawPlugin ) );
- AddPlugin( CLASSINFO( cbAntiflickerPlugin ) );
}
void wxFrameLayout::AddPlugin( wxClassInfo* pPlInfo, int paneMask )