]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcmemory.h
compilation fix (no C++ comments in C files, include/wx/expr.hsrc/msw/textctrl.cpp...
[wxWidgets.git] / include / wx / gtk / dcmemory.h
index ea4a1f157100baf9ad95c456b0385006e46527a2..213b7e4eed79ece85084ecfba87514e2919aa75d 100644 (file)
@@ -28,20 +28,20 @@ class wxMemoryDC;
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
-class wxMemoryDC: public wxWindowDC
+class wxMemoryDC : public wxWindowDC
 {
-  DECLARE_DYNAMIC_CLASS(wxMemoryDC)
-
 public:
-  wxMemoryDC();
-  wxMemoryDC( wxDC *dc ); // Create compatible DC
-  ~wxMemoryDC();
-  virtual void SelectObject( const wxBitmap& bitmap );
-  void GetSize( int *width, int *height ) const;
+    wxMemoryDC();
+    wxMemoryDC( wxDC *dc ); // Create compatible DC
+    ~wxMemoryDC();
+    virtual void SelectObject( const wxBitmap& bitmap );
+    void DoGetSize( int *width, int *height ) const;
 
-  // implementation
+    // implementation
+    wxBitmap  m_selected;
 
-  wxBitmap  m_selected;
+private:
+    DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 };
 
 #endif