]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
corrected FSSpec to POSIX file name conversions for Mac OS X (Apple DevTools)
[wxWidgets.git] / src / univ / winuniv.cpp
index be8a2ba4e3a23759b05a3eb0ac38d1b886558de7..d8ff488e5a8b13044a9e2804a298baca6c72095d 100644 (file)
@@ -843,8 +843,12 @@ void wxWindow::SetScrollbar(int orient,
     // give the window a chance to relayout
     if ( hasClientSizeChanged )
     {
+#if wxUSE_TWO_WINDOWS
+        wxWindowNative::SetSize( GetSize() );
+#else
         wxSizeEvent event(GetSize());
         (void)GetEventHandler()->ProcessEvent(event);
+#endif
     }
 }