keeping the OSX specific use of origin for non-native borders

fixes #19108
This commit is contained in:
Stefan Csomor
2021-03-20 22:09:31 +01:00
parent 362012ab9c
commit d1c0d3b18c
4 changed files with 21 additions and 5 deletions

View File

@@ -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;