Various fixes for X11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -217,7 +217,7 @@
|
||||
#endif /* __WXMOTIF__ */
|
||||
#endif
|
||||
|
||||
#if defined(__WXMOTIF__)
|
||||
#if defined(__WXMOTIF__) || defined(__WXX11__)
|
||||
#define __X__
|
||||
#endif
|
||||
|
||||
|
@@ -32,6 +32,11 @@
|
||||
// wxCheckBox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// X11 headers may define this
|
||||
#ifdef Status
|
||||
#undef Status
|
||||
#endif
|
||||
|
||||
class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
|
||||
{
|
||||
public:
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
|
||||
virtual ~wxWindow();
|
||||
virtual ~wxWindowX11();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -194,7 +194,7 @@ protected:
|
||||
void CanvasSetClientSize(int width, int size);
|
||||
void CanvasSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
||||
|
||||
void SetMainWindow(WXWindow w) { m_mainWindow = w; }
|
||||
void SetMainWindow(WXWindow w) { m_mainWidget = w; }
|
||||
|
||||
bool CanAddEventHandler() const { return m_canAddEventHandler; }
|
||||
void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; }
|
||||
|
Reference in New Issue
Block a user