]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
Added wxWindowBase::CentreOnParent to allow top level windows to be
[wxWidgets.git] / include / wx / cmndata.h
index 4c58ded722a4342a47da727eeade1deadbe82e85..2b298bd01623a93ea6a975d55f799cf538087e1a 100644 (file)
@@ -89,6 +89,7 @@ public:
     int             maxSize;
 };
 
+#if wxUSE_PRINTING_ARCHITECTURE
 /*
  * wxPrintData
  * Encapsulates printer information (not printer dialog information)
@@ -157,7 +158,7 @@ class WXDLLEXPORT wxPrintData: public wxObject
     void operator=(const wxPrintSetupData& setupData);
 #endif
 
-#ifdef __WXMSW__
+#if defined(__WXMSW__)
     // Convert to/from the DEVMODE structure
     void ConvertToNative();
     void ConvertFromNative();
@@ -379,5 +380,7 @@ private:
     wxPrintData     m_printData;
 };
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
 #endif
 // _WX_CMNDATA_H_BASE_