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:
Julian Smart
2002-02-07 15:40:02 +00:00
parent 45ce82f320
commit f79bd02d8e
5 changed files with 1532 additions and 769 deletions

2288
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -217,7 +217,7 @@
#endif /* __WXMOTIF__ */ #endif /* __WXMOTIF__ */
#endif #endif
#if defined(__WXMOTIF__) #if defined(__WXMOTIF__) || defined(__WXX11__)
#define __X__ #define __X__
#endif #endif

View File

@@ -32,6 +32,11 @@
// wxCheckBox // wxCheckBox
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// X11 headers may define this
#ifdef Status
#undef Status
#endif
class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
{ {
public: public:

View File

@@ -41,7 +41,7 @@ public:
Create(parent, id, pos, size, style, name); Create(parent, id, pos, size, style, name);
} }
virtual ~wxWindow(); virtual ~wxWindowX11();
bool Create(wxWindow *parent, bool Create(wxWindow *parent,
wxWindowID id, wxWindowID id,
@@ -194,7 +194,7 @@ protected:
void CanvasSetClientSize(int width, int size); void CanvasSetClientSize(int width, int size);
void CanvasSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); 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; } bool CanAddEventHandler() const { return m_canAddEventHandler; }
void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; } void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; }