void OnOK(wxCommandEvent& event);
void OnApply(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
+ void OnPaint(wxPaintEvent &event);
// Responds to colour changes
void OnSysColourChanged(wxSysColourChangedEvent& event);
const wxRect* rect = (wxRect *) NULL );
virtual void SetSizeHints(int minW, int minH,
- int maxW, int maxH,
- int incW, int incH);
+ int maxW = -1, int maxH = -1,
+ int incW = -1, int incH = -1);
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
// accelerator table, and try to find what menu id or window (beneath it)
// has this ID. Then construct an appropriate command
// event and send it.
+public:
virtual bool ProcessAccelerator(wxKeyEvent& event);
-
+
+protected:
// unmanage and destroy an X widget f it's !NULL (passing NULL is ok)
void UnmanageAndDestroy(WXWidget widget);
prntdlgg.cpp \
progdlgg.cpp \
prop.cpp \
- propform.cpp \
- proplist.cpp \
sashwin.cpp \
scrolwin.cpp \
splitter.cpp \
wave.cpp \
window.cpp
+# propform.cpp \
+# proplist.cpp \
+
# these are the sources which we build by our own rules
#
# TODO: parser.y can be included into SOURCES, but for the sake of my life I
closing.DeleteObject(this);
}
+void wxDialog::OnPaint(wxPaintEvent &WXUNUSED(event))
+{
+ // added for compatiblity only
+}
+
// Destroy the window (delayed, if a managed window)
bool wxDialog::Destroy()
{