]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcclient.h
Performance optimizations
[wxWidgets.git] / include / wx / gtk / dcclient.h
index 19c9e2e09440ac55f6c518dd320c356febc4937e..0142e694c7297c2b1721a93b138b6660b6eb4fa1 100644 (file)
@@ -31,8 +31,6 @@ class wxClientDC;
 
 class wxWindowDC : public wxDC
 {
-    DECLARE_DYNAMIC_CLASS(wxWindowDC)
-
 public:
     wxWindowDC();
     wxWindowDC( wxWindow *win );
@@ -72,6 +70,8 @@ public:
                          int logical_func = wxCOPY, bool useMask = FALSE );
 
     virtual void DoDrawText( const wxString &text, wxCoord x, wxCoord y );
+    virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y,
+                                   double angle);
     virtual void DoGetTextExtent( const wxString &string,
                                 wxCoord *width, wxCoord *height,
                                 wxCoord *descent = (wxCoord *) NULL,
@@ -121,6 +121,9 @@ public:
     void ComputeScaleAndOrigin();
 
     GdkWindow *GetWindow() { return m_window; }
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxWindowDC)
 };
 
 //-----------------------------------------------------------------------------
@@ -129,11 +132,12 @@ public:
 
 class wxPaintDC : public wxWindowDC
 {
-    DECLARE_DYNAMIC_CLASS(wxPaintDC)
-
 public:
     wxPaintDC();
     wxPaintDC( wxWindow *win );
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxPaintDC)
 };
 
 //-----------------------------------------------------------------------------
@@ -142,12 +146,12 @@ public:
 
 class wxClientDC : public wxWindowDC
 {
-    DECLARE_DYNAMIC_CLASS(wxClientDC)
-
 public:
     wxClientDC();
     wxClientDC( wxWindow *win );
+    
+private:
+    DECLARE_DYNAMIC_CLASS(wxClientDC)
 };
 
-
 #endif // __GTKDCCLIENTH__