// override some base class virtuals
virtual bool Show(bool show = true);
- //
- // Event handlers
- //
- void OnCharHook(wxKeyEvent& rEvent);
- void OnCloseWindow(wxCloseEvent& rEvent);
-
- //
- // Standard buttons
- //
- void OnOK(wxCommandEvent& rEvent);
- void OnApply(wxCommandEvent& rEvent);
- void OnCancel(wxCommandEvent& rEvent);
-
- //
- // Responds to colour changes
- //
- void OnSysColourChanged(wxSysColourChangedEvent& rEvent);
-
//
// Callbacks
//
//
void Init(void);
- // end either modal or modeless dialog
- void EndDialog(int rc);
-
private:
wxWindow* m_pOldFocus;
bool m_endModalCalled; // allow for closing within InitDialog
class wxWindowDisabler* m_pWindowDisabler;
DECLARE_DYNAMIC_CLASS(wxDialog)
- DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxDialog)
}; // end of CLASS wxDialog