]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/dialog.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / stubs / dialog.cpp
index bf3cae5e352be74e0494d910408c79df3bdbac97..f0358af36aaa21fbdf4996950373a76a6bcf98fd 100644 (file)
@@ -25,7 +25,6 @@ wxList wxModalDialogs;
 wxList wxModelessWindows;  // Frames and modeless dialogs
 extern wxList wxPendingDelete;
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxPanel)
 
 BEGIN_EVENT_TABLE(wxDialog, wxPanel)
@@ -37,7 +36,6 @@ BEGIN_EVENT_TABLE(wxDialog, wxPanel)
   EVT_CLOSE(wxDialog::OnCloseWindow)
 END_EVENT_TABLE()
 
-#endif
 
 wxDialog::wxDialog()
 {