]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/window.cpp
Constructor should survive getting passed a null pointer for conversion.
[wxWidgets.git] / src / stubs / window.cpp
index ef493b14ad1b43d4707ea874251b9219eccf6bea..6970db0614bbfba50fd3f20362a12d788452c6aa 100644 (file)
@@ -59,6 +59,7 @@ END_EVENT_TABLE()
 wxWindow::wxWindow()
 {
     // Generic
+    m_isWindow = TRUE; // An optimization
     m_windowId = 0;
     m_windowStyle = 0;
     m_windowParent = NULL;
@@ -146,6 +147,7 @@ bool wxWindow::Create(wxWindow *parent, wxWindowID id,
            const wxString& name)
 {
     // Generic
+    m_isWindow = TRUE; // An optimization
     m_windowId = 0;
     m_windowStyle = 0;
     m_windowParent = NULL;