]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcclient.h
don't log mouse events by default
[wxWidgets.git] / include / wx / mgl / dcclient.h
index 41bbd504da7cfd35583c9f1dfad16ab985d0143f..37f8ea423e4c33ab3855a67c0b60186941644f61 100644 (file)
@@ -15,7 +15,6 @@
 #endif
 
 #include "wx/dc.h"
 #endif
 
 #include "wx/dc.h"
-#include "wx/window.h"
 
 //-----------------------------------------------------------------------------
 // classes
 
 //-----------------------------------------------------------------------------
 // classes
 class WXDLLEXPORT wxWindowDC;
 class WXDLLEXPORT wxPaintDC;
 class WXDLLEXPORT wxClientDC;
 class WXDLLEXPORT wxWindowDC;
 class WXDLLEXPORT wxPaintDC;
 class WXDLLEXPORT wxClientDC;
+class WXDLLEXPORT wxWindowMGL;
 
 //-----------------------------------------------------------------------------
 // wxWindowDC
 //-----------------------------------------------------------------------------
 
 
 //-----------------------------------------------------------------------------
 // wxWindowDC
 //-----------------------------------------------------------------------------
 
-//FIXME_MGL
 class WXDLLEXPORT wxWindowDC : public wxDC
 {
 public:
     wxWindowDC() {}
 class WXDLLEXPORT wxWindowDC : public wxDC
 {
 public:
     wxWindowDC() {}
-    wxWindowDC( wxWindow *win ) {}
+    virtual ~wxWindowDC();
+    wxWindowDC(wxWindow *win);
+
+protected:
+    wxWindow *m_wnd;
+    bool      m_inPaintHandler;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxWindowDC)
@@ -47,8 +51,8 @@ private:
 class WXDLLEXPORT wxClientDC : public wxWindowDC
 {
 public:
 class WXDLLEXPORT wxClientDC : public wxWindowDC
 {
 public:
-    wxClientDC() {}
-    wxClientDC( wxWindow *win ) {}
+    wxClientDC() : wxWindowDC() {}
+    wxClientDC(wxWindow *win);
 
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxClientDC)
@@ -61,8 +65,8 @@ private:
 class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
 class WXDLLEXPORT wxPaintDC : public wxClientDC
 {
 public:
-    wxPaintDC() }
-    wxPaintDC( wxWindow *win ) {}
+    wxPaintDC() : wxClientDC() {}
+    wxPaintDC(wxWindow *win) : wxClientDC(win) {}
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPaintDC)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPaintDC)