]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcmemory.h
calling insert("") would provoke an assert - now it's just ignored
[wxWidgets.git] / include / wx / gtk / dcmemory.h
index 66cf85bfc021c92a9490c32df74a924236da27a5..c5854c5110f9c8c3945f0576004d952c883c947e 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Robert Roebling
 // Created:     01/02/97
-// Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -38,9 +38,10 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC
     wxMemoryDC( wxDC *dc ); // Create compatible DC
     ~wxMemoryDC(void);
     virtual void SelectObject( const wxBitmap& bitmap );
-    void GetSize( int *width, int *height );
+    void GetSize( int *width, int *height ) const;
 
   private: 
+    friend wxPaintDC;
     wxBitmap  m_selected;
 };