projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2e301
)
wxWindowCocoaScroller: use wxAutoNSAutoreleasePool in constructor
author
David Elliott
<dfe@tgwbd.org>
Sun, 11 Apr 2004 04:03:01 +0000
(
04:03
+0000)
committer
David Elliott
<dfe@tgwbd.org>
Sun, 11 Apr 2004 04:03:01 +0000
(
04:03
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26698
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/cocoa/window.mm
patch
|
blob
|
blame
|
history
diff --git
a/src/cocoa/window.mm
b/src/cocoa/window.mm
index 0259aa8de3dd83a7b98dfd162518b80df17798f2..b74cc3ca5ebde200a9d99ad2363a824329a4f91a 100644
(file)
--- a/
src/cocoa/window.mm
+++ b/
src/cocoa/window.mm
@@
-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]