removed #errors in 2.7 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,13 +164,6 @@ protected:
|
||||
int m_currentStyle ;
|
||||
int m_currentFill ;
|
||||
int m_autoSetting ; // See comment in dcclient.cpp
|
||||
|
||||
// this is useless and should be removed, kept for now just for backwards
|
||||
// compatibility
|
||||
#if wxCHECK_VERSION(2, 7, 0)
|
||||
#error "Remove wxClientDC::m_oldFont"
|
||||
#endif
|
||||
WXFont m_oldFont;
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
||||
@@ -193,5 +186,5 @@ public:
|
||||
wxClientDC(wxWindow* win) : wxWindowDC(win) { }
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_DCCLIENT_H_
|
||||
#endif // _WX_DCCLIENT_H_
|
||||
|
||||
|
@@ -236,14 +236,6 @@ DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBTRACK)
|
||||
DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBRELEASE)
|
||||
DEFINE_EVENT_TYPE(wxEVT_SCROLL_CHANGED)
|
||||
|
||||
// see comments in wx/event.h, near wxEVT_SCROLL_ENDSCROLL declaration
|
||||
#if wxCHECK_VERSION(2, 7, 0)
|
||||
#error "Remove the lines below, not needed any more"
|
||||
#endif
|
||||
#undef wxEVT_SCROLL_ENDSCROLL
|
||||
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_SCROLL_ENDSCROLL;
|
||||
const wxEventType wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED;
|
||||
|
||||
// Scroll events from wxWindow
|
||||
DEFINE_EVENT_TYPE(wxEVT_SCROLLWIN_TOP)
|
||||
DEFINE_EVENT_TYPE(wxEVT_SCROLLWIN_BOTTOM)
|
||||
|
@@ -263,12 +263,9 @@ wxSize wxWizardSizer::SiblingSize(wxSizerItem *child)
|
||||
// generic wxWizard implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxCHECK_VERSION(2, 7, 0)
|
||||
#error "Fix wxGTK vs. wxMSW difference other way"
|
||||
#else
|
||||
WX_DEFINE_ARRAY_PTR(wxWizard *, wxModelessWizards);
|
||||
wxModelessWizards modelessWizards;
|
||||
#endif
|
||||
// FIXME: this is a hack
|
||||
WX_DEFINE_ARRAY_PTR(wxWizard *, wxModelessWizards);
|
||||
static wxModelessWizards modelessWizards;
|
||||
|
||||
void wxWizard::Init()
|
||||
{
|
||||
|
@@ -149,7 +149,6 @@ void wxWindowDC::Init()
|
||||
m_display = (WXDisplay*) NULL;
|
||||
m_pixmap = (WXPixmap) 0;
|
||||
m_autoSetting = 0;
|
||||
m_oldFont = (WXFont) 0;
|
||||
m_ok = false;
|
||||
m_clipRegion = (WXRegion) 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user