]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_demo2/fl_demo2.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / contrib / samples / fl / fl_demo2 / fl_demo2.cpp
index d209ce6e3dee35b520541ab10454f05701ed43eb..ba978cc2315f34ec1ecd1e410b1aeb567cebee46 100644 (file)
@@ -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 ) );