Associate/Disassociate now check for non-NULL pointer instead of requiring
the caller to do so. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,7 +25,8 @@ public:
|
||||
void AssociateNSWindow(WX_NSWindow cocoaNSWindow);
|
||||
inline void DisassociateNSWindow(WX_NSWindow cocoaNSWindow)
|
||||
{
|
||||
sm_cocoaHash.erase(cocoaNSWindow);
|
||||
if(cocoaNSWindow)
|
||||
sm_cocoaHash.erase(cocoaNSWindow);
|
||||
}
|
||||
virtual void Cocoa_close(void) = 0;
|
||||
virtual bool Cocoa_windowShouldClose(void) = 0;
|
||||
|
Reference in New Issue
Block a user