keeping the OSX specific use of origin for non-native borders
fixes #19108
This commit is contained in:
@@ -227,6 +227,10 @@ protected:
|
||||
// wxGraphicsContext, in the expectation that the derived class will do it
|
||||
wxGCDCImpl(wxDC* owner, int);
|
||||
|
||||
#ifdef __WXOSX__
|
||||
virtual wxPoint OSXGetOrigin() const { return wxPoint(); }
|
||||
#endif
|
||||
|
||||
// scaling variables
|
||||
bool m_logicalFunctionSupported;
|
||||
wxGraphicsMatrix m_matrixOriginal;
|
||||
|
@@ -32,9 +32,12 @@ public:
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual wxPoint OSXGetOrigin() const wxOVERRIDE;
|
||||
|
||||
bool m_release;
|
||||
int m_width;
|
||||
int m_height;
|
||||
wxPoint m_origin;
|
||||
|
||||
wxDECLARE_CLASS(wxWindowDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
|
||||
|
Reference in New Issue
Block a user