]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/window.cpp
Replaced tabs and cleaned up indentations.
[wxWidgets.git] / src / stubs / window.cpp
index ef493b14ad1b43d4707ea874251b9219eccf6bea..0eeda07dfc5d81bbb1269641ed4d7ab655eae19c 100644 (file)
@@ -39,7 +39,6 @@
 
 extern wxList wxPendingDelete;
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxEvtHandler)
 
 BEGIN_EVENT_TABLE(wxWindow, wxEvtHandler)
@@ -52,13 +51,13 @@ BEGIN_EVENT_TABLE(wxWindow, wxEvtHandler)
   EVT_IDLE(wxWindow::OnIdle)
 END_EVENT_TABLE()
 
-#endif
 
 
 // Constructor
 wxWindow::wxWindow()
 {
     // Generic
+    m_isWindow = TRUE; // An optimization
     m_windowId = 0;
     m_windowStyle = 0;
     m_windowParent = NULL;
@@ -146,6 +145,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;