]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
wxToggleButton on wxMac has these methods now
[wxWidgets.git] / samples / notebook / notebook.cpp
index c2f40aa6d6320dbe2bfa3f3950fe44526e63af3b..1328a8fe7b1bf50acc8c4101e61683af1ceb04e7 100644 (file)
@@ -33,7 +33,7 @@ bool MyApp::OnInit()
 
     // Problem with generic wxNotebook implementation whereby it doesn't size
     // properly unless you set the size again
-#if defined(__WIN16__) || defined(__WXMOTIF__)
+#if defined(__WXMOTIF__)
     int width, height;
     frame->GetSize(& width, & height);
     frame->SetSize(-1, -1, width, height);