]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcclient.h
don't pass NULL pointer to printf(), this crashes Solaris printf
[wxWidgets.git] / include / wx / motif / dcclient.h
index fa04c08521adbb5202e8c1d98a983ce5bb141474..8522c8e23b71c3ac0db2762f1373c7adc95997f7 100644 (file)
@@ -168,6 +168,12 @@ 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;
 };