]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/utils.cpp
use wxConvLibc, not wxConvCurrent, with regerror()
[wxWidgets.git] / src / mac / carbon / utils.cpp
index 85a38d0b49f9b57b540423bc0217be4383404a80..d491c42b04dc90f870381d541c4ba544bbd200dd 100644 (file)
@@ -863,6 +863,7 @@ void wxMacControl::Init()
 
 void wxMacControl::Dispose()
 {
+    wxASSERT_MSG( m_controlRef != NULL , wxT("Control Handle already NULL, Dispose called twice ?") );
     wxASSERT_MSG( IsValidControlHandle(m_controlRef) , wxT("Invalid Control Handle (maybe already released) in Dispose") );
 
     // we cannot check the ref count here anymore, as autorelease objects might delete their refs later