X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..89c831801467203372b6964a785823f19e8063dd:/src/common/dpycmn.cpp diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index bc39bced67..f5d398867b 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "displaybase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -33,7 +29,7 @@ #if wxUSE_DISPLAY #include "wx/arrimpl.cpp" -WX_DEFINE_OBJARRAY(wxArrayVideoModes); +WX_DEFINE_OBJARRAY(wxArrayVideoModes) const wxVideoMode wxDefaultVideoMode; @@ -44,7 +40,7 @@ const wxVideoMode wxDefaultVideoMode; wxDisplayBase::wxDisplayBase(size_t index) : m_index (index) { - wxASSERT_MSG( m_index < wxDisplayBase::GetCount(), + wxASSERT_MSG( m_index < GetCount(), wxT("An invalid index was passed to wxDisplay") ); }