]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/notebook.cpp
Some stubs includes removed from wxMotif; wxNotebook sample hack to make it display;
[wxWidgets.git] / src / motif / notebook.cpp
index ae9e5c7252349dcd35206f396aba1cbee55e400f..4523b93e0576da8797c6fc597b6f9f06098933ef 100644 (file)
@@ -400,11 +400,21 @@ void wxNotebook::OnIdle(wxIdleEvent& event)
 {
     static bool s_bFirstTime = TRUE;
     if ( s_bFirstTime ) {
+      /*
+      wxSize sz(GetSize());
+      sz.x ++;
+      SetSize(sz);
+      sz.x --;
+      SetSize(sz);
+      */
+
+      /*
       wxSize sz(GetSize());
       wxSizeEvent sizeEvent(sz, GetId());
       sizeEvent.SetEventObject(this);
       GetEventHandler()->ProcessEvent(sizeEvent);
       Refresh();
+      */
       s_bFirstTime = FALSE;
     }
     event.Skip();