]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/window.mm
fixed wxMBConv::cMB2WC and cWC2MB to check for conversion failure
[wxWidgets.git] / src / cocoa / window.mm
index 0259aa8de3dd83a7b98dfd162518b80df17798f2..b74cc3ca5ebde200a9d99ad2363a824329a4f91a 100644 (file)
@@ -147,6 +147,7 @@ bool wxWindowCocoaHider::Cocoa_drawRect(const NSRect& rect)
 wxWindowCocoaScroller::wxWindowCocoaScroller(wxWindow *owner)
 :   m_owner(owner)
 {
+    wxAutoNSAutoreleasePool pool;
     wxASSERT(owner);
     wxASSERT(owner->GetNSView());
     m_cocoaNSScrollView = [[NSScrollView alloc]