Motif compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7f24bd194b
commit
d75638f85f
@ -88,6 +88,7 @@ public:
|
||||
void OnOK(wxCommandEvent& event);
|
||||
void OnApply(wxCommandEvent& event);
|
||||
void OnCancel(wxCommandEvent& event);
|
||||
void OnPaint(wxPaintEvent &event);
|
||||
|
||||
// Responds to colour changes
|
||||
void OnSysColourChanged(wxSysColourChangedEvent& event);
|
||||
|
@ -103,8 +103,8 @@ public:
|
||||
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
|
||||
@ -237,8 +237,10 @@ protected:
|
||||
// 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);
|
||||
|
||||
|
@ -184,7 +184,9 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
|
||||
|
||||
void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
|
||||
{
|
||||
#ifndef __WXMOTIF__
|
||||
wxDialog::OnPaint(event);
|
||||
#endif
|
||||
|
||||
wxPaintDC dc(this);
|
||||
|
||||
|
@ -113,8 +113,6 @@ libwx_motif_la_SOURCES = \
|
||||
prntdlgg.cpp \
|
||||
progdlgg.cpp \
|
||||
prop.cpp \
|
||||
propform.cpp \
|
||||
proplist.cpp \
|
||||
sashwin.cpp \
|
||||
scrolwin.cpp \
|
||||
splitter.cpp \
|
||||
@ -180,6 +178,9 @@ libwx_motif_la_SOURCES = \
|
||||
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
|
||||
|
@ -586,6 +586,11 @@ void wxDialog::OnCloseWindow(wxCloseEvent& event)
|
||||
closing.DeleteObject(this);
|
||||
}
|
||||
|
||||
void wxDialog::OnPaint(wxPaintEvent &WXUNUSED(event))
|
||||
{
|
||||
// added for compatiblity only
|
||||
}
|
||||
|
||||
// Destroy the window (delayed, if a managed window)
|
||||
bool wxDialog::Destroy()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user