]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcmemory.h
attempted Unicode fixes for BC++
[wxWidgets.git] / include / wx / gtk / dcmemory.h
index be4a0ffa42091c250da74c3e2f4723a095a042ea..213b7e4eed79ece85084ecfba87514e2919aa75d 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -28,20 +28,20 @@ class wxMemoryDC;
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
-class wxMemoryDC: public wxPaintDC
+class wxMemoryDC : public wxWindowDC
 {
-  DECLARE_DYNAMIC_CLASS(wxMemoryDC)
-
-  public:
-    wxMemoryDC(void);
+public:
+    wxMemoryDC();
     wxMemoryDC( wxDC *dc ); // Create compatible DC
-    ~wxMemoryDC(void);
+    ~wxMemoryDC();
     virtual void SelectObject( const wxBitmap& bitmap );
-    void GetSize( int *width, int *height ) const;
+    void DoGetSize( int *width, int *height ) const;
 
-  private: 
-    friend wxPaintDC;
+    // implementation
     wxBitmap  m_selected;
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 };
 
 #endif