]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
rtti api mods added
[wxWidgets.git] / src / generic / notebook.cpp
index 853fc8ab7d94ffc6e2d8713953351ff3e27bd1e5..4034ee21571a6002c06c9699940206220a716980 100644 (file)
@@ -16,7 +16,7 @@
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "notebook.h"
 #endif
 
@@ -533,13 +533,6 @@ bool wxNotebook::RefreshLayout(bool force)
                 if ( pPage->GetAutoLayout() )
                    pPage->Layout();
             }
-            // MBN: this is probably just hiding a problem under the carpet,
-            // but: with OpenMotif 2.2 (not Lesstif), not moving the window
-            // may cause the tabs to be not clickable.
-            else
-            {
-                pPage->Move(clientRect.x, clientRect.y);
-            }
         }
         Refresh();
     }