Added __WXX11__ tests where appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,7 +134,7 @@ MyFrame::MyFrame(wxFrame *frame)
|
||||
|
||||
mpLayout = new wxFrameLayout( this, mpClientWnd );
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#if defined(__WXGTK__) || defined(__WXX11__)
|
||||
cbCommonPaneProperties props;
|
||||
mpLayout->GetPaneProperties( props );
|
||||
|
||||
|
@@ -776,7 +776,7 @@ void MyFrame::DropInSomeBars( int layoutNo )
|
||||
{
|
||||
if ( layoutNo == THIRD_LAYOUT )
|
||||
{
|
||||
#ifdef __WXGTK__
|
||||
#if defined(__WXGTK__) || defined(__WXX11__)
|
||||
cbCommonPaneProperties props;
|
||||
layout.GetPaneProperties( props );
|
||||
props.mRealTimeUpdatesOn = FALSE; // real-time OFF for gtk!!!
|
||||
@@ -849,7 +849,7 @@ void MyFrame::CreateLayout( int layoutNo )
|
||||
{
|
||||
pLayout->PushDefaultPlugins();
|
||||
pLayout->AddPlugin( CLASSINFO( cbBarHintsPlugin ) ); // facny "X"es and beveal for bars
|
||||
#ifdef __WXGTK__
|
||||
#if defined(__WXGTK__) || || defined(__WXX11__)
|
||||
pLayout->AddPlugin( CLASSINFO( cbHintAnimationPlugin ) );
|
||||
#endif
|
||||
pLayout->AddPlugin( CLASSINFO( cbRowDragPlugin ) );
|
||||
|
@@ -117,7 +117,7 @@ MyFrame::MyFrame( wxWindow* parent, char *title )
|
||||
|
||||
mpLayout = new wxFrameLayout( mpInternalFrm, mpClientWnd );
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#if defined(__WXGTK__) || defined(__WXX11__)
|
||||
// real-time dosn't work well under wxGtk yet
|
||||
cbCommonPaneProperties props;
|
||||
mpLayout->GetPaneProperties( props );
|
||||
|
Reference in New Issue
Block a user