]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dialog.h
Block all events in wxSpinButton::SetValue etc.
[wxWidgets.git] / include / wx / gtk / dialog.h
index 8bf37778eefeb8819afd969968d6cf3c0057268c..8d7e7a33fc1373032094e18a540b99a0264b1653 100644 (file)
@@ -17,7 +17,7 @@
 // classes
 //-----------------------------------------------------------------------------
 
-class WXDLLIMPEXP_CORE wxDialog;
+class WXDLLIMPEXP_FWD_CORE wxDialog;
 
 //-----------------------------------------------------------------------------
 // global data
@@ -45,7 +45,7 @@ public:
             const wxSize &size = wxDefaultSize,
             long style = wxDEFAULT_DIALOG_STYLE,
             const wxString &name = wxDialogNameStr );
-    ~wxDialog() {}
+    virtual ~wxDialog() {}
 
     virtual bool Show( bool show = TRUE );
     virtual int ShowModal();