]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdicmn.h
Also set GTK text direction to m_wxwindow.
[wxWidgets.git] / include / wx / gdicmn.h
index 8462c37eb2ffa6ec9766154ba40ca68c3bc4f431..1c02e3dfc972edcf2dd79f716ecf6e88819aa8ff 100644 (file)
@@ -307,6 +307,8 @@ public:
 
     wxPoint operator+(const wxSize& s) const { return wxPoint(x + s.GetWidth(), y + s.GetHeight()); }
     wxPoint operator-(const wxSize& s) const { return wxPoint(x - s.GetWidth(), y - s.GetHeight()); }
+
+    wxPoint operator-() const { return wxPoint(-x, -y); }
 };
 
 // ---------------------------------------------------------------------------
@@ -541,7 +543,7 @@ public:
 #if !wxUSE_STL
     wxResourceCache(const unsigned int keyType) : wxList(keyType) { }
 #endif
-    ~wxResourceCache();
+    virtual ~wxResourceCache();
 };
 
 // ---------------------------------------------------------------------------