]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gdi.i
added calls for invalidating the dc setup on mac explicitely (needed in case of neste...
[wxWidgets.git] / wxPython / src / gdi.i
index 319d1000def4fcdbe360b4268bba81f2c7b2f80f..e66a31dd73803447c0a8a4e4dbf813749b065771 100644 (file)
 %import _defs.i
 %import misc.i
 
+
+%{
+    static wxString wxPyEmptyStr("");
+%}
+
 //---------------------------------------------------------------------------
 
 //  class wxGDIImage {
@@ -339,6 +344,7 @@ public:
 };
 
 %new wxColour* wxNamedColour(const wxString& colorName);
+
 %{                                      // Alternate 'constructor'
     wxColour* wxNamedColour(const wxString& colorName) {
         return new wxColour(colorName);
@@ -588,15 +594,6 @@ public:
 
 //---------------------------------------------------------------------------
 
-#ifdef __WXMSW__
-class  wxPrinterDC : public wxDC {
-public:
-    wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output,
-                bool interactive = TRUE, int orientation = wxPORTRAIT);
-};
-#endif
-
-//---------------------------------------------------------------------------
 
 #ifdef __WXMSW__
 class wxMetaFileDC : public wxDC {