]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dcmemory.h
Fixed Dialog Editor compilation and window sizing bug. Various warning-related
[wxWidgets.git] / include / wx / gtk / dcmemory.h
index 66cf85bfc021c92a9490c32df74a924236da27a5..be4a0ffa42091c250da74c3e2f4723a095a042ea 100644 (file)
@@ -2,9 +2,8 @@
 // Name:        dcmemory.h
 // Purpose:
 // Author:      Robert Roebling
-// Created:     01/02/97
-// Id:
-// Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// RCS-ID:      $Id$
+// Copyright:   (c) 1998 Robert Roebling
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -29,7 +28,7 @@ class wxMemoryDC;
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMemoryDC: public wxPaintDC
+class wxMemoryDC: public wxPaintDC
 {
   DECLARE_DYNAMIC_CLASS(wxMemoryDC)
 
@@ -38,9 +37,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;
 };