]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / src / common / object.cpp
index 41fce11f1682a4b1023a3a8e3986f95468a6085e..ab59919f01fe8e3d3cd44e9eaedce9eda43afeeb 100644 (file)
     #include "wx/ioswrap.h"
 #endif
 
-#if !USE_SHARED_LIBRARY
 wxClassInfo wxObject::sm_classwxObject((wxChar *) wxT("wxObject"), (wxChar *) NULL, (wxChar *) NULL, (int ) sizeof(wxObject), (wxObjectConstructorFn) NULL);
 wxClassInfo* wxClassInfo::sm_first = (wxClassInfo *) NULL;
 wxHashTable* wxClassInfo::sm_classTable = (wxHashTable*) NULL;
-#endif
 
 /*
  * wxWindows root object.
@@ -300,7 +298,6 @@ wxObject *wxCreateDynamicObject(const wxChar *name)
 
 #include "wx/serbase.h"
 #include "wx/dynlib.h"
-#include "wx/msgdlg.h"
 
 wxObject* wxCreateStoredObject( wxInputStream &stream )
 {
@@ -379,7 +376,6 @@ void wxObject::UnRef()
 
         if ( !--m_refData->m_count )
             delete m_refData;
-
         m_refData = (wxObjectRefData *) NULL;
     }
 }