]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/window.mm
Applied patch [ 863936 ] wxGrid scroll bars not drawn.
[wxWidgets.git] / src / cocoa / window.mm
index 8412232abbd5678d00700965a878085b1979053d..1ce1295c5052ba06179960da8248cd372cb4e887 100644 (file)
@@ -240,8 +240,6 @@ wxWindow *wxWindowCocoa::sm_capturedWindow = NULL;
 // Constructor
 void wxWindowCocoa::Init()
 {
-    InitBase();
-
     m_cocoaNSView = NULL;
     m_cocoaHider = NULL;
     m_cocoaScroller = NULL;
@@ -570,6 +568,7 @@ void wxWindowCocoa::DoSetSize(int x, int y, int width, int height, int sizeFlags
 
 void wxWindowCocoa::DoMoveWindow(int x, int y, int width, int height)
 {
+    wxAutoNSAutoreleasePool pool;
 //    wxLogDebug("wxWindow=%p::DoMoveWindow(%d,%d,%d,%d)",this,x,y,width,height);
 
     NSView *nsview = GetNSViewForSuperview();