replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,6 +36,11 @@ class WXDLLEXPORT wxWindowDC: public wxDC
|
|||||||
protected :
|
protected :
|
||||||
virtual void DoGetSize( int *width, int *height ) const;
|
virtual void DoGetSize( int *width, int *height ) const;
|
||||||
wxWindow *m_window;
|
wxWindow *m_window;
|
||||||
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
|
bool m_release;
|
||||||
|
int m_width;
|
||||||
|
int m_height;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -52,7 +57,9 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC
|
|||||||
virtual ~wxClientDC(void);
|
virtual ~wxClientDC(void);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
#if !wxMAC_USE_CORE_GRAPHICS
|
||||||
virtual void DoGetSize( int *width, int *height ) const;
|
virtual void DoGetSize( int *width, int *height ) const;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
||||||
@@ -68,7 +75,9 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
|||||||
virtual ~wxPaintDC(void);
|
virtual ~wxPaintDC(void);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
#if !wxMAC_USE_CORE_GRAPHICS
|
||||||
virtual void DoGetSize( int *width, int *height ) const;
|
virtual void DoGetSize( int *width, int *height ) const;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,6 +28,10 @@ class WXDLLEXPORT wxScreenDC: public wxWindowDC
|
|||||||
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
|
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
|
||||||
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
|
||||||
static bool EndDrawingOnTop() { return TRUE; }
|
static bool EndDrawingOnTop() { return TRUE; }
|
||||||
|
private:
|
||||||
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
|
wxUint32 m_displayId;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user