Handle wxOSX-specific clipping in wxOSX wxWindowDC implementation
Instead of setting clipping for client area for wxOSX windows with non-native borders in the common wxGCDC::DestroyClippingRegion() we can encapsulate this operation in dedicated DestroyClippingRegion() implementation in wxWindowDC. See #19108. See #22914.
This commit is contained in:
parent
7d3f776ec3
commit
ee70221a0d
4 changed files with 21 additions and 5 deletions
|
|
@ -30,9 +30,13 @@ public:
|
|||
|
||||
virtual void DoGetSize( int *width, int *height ) const override;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const override;
|
||||
virtual void DestroyClippingRegion() override;
|
||||
|
||||
protected:
|
||||
#if WXWIN_COMPATIBILITY_3_2
|
||||
wxDEPRECATED_MSG("Don't use OSXGetOrigin()")
|
||||
virtual wxPoint OSXGetOrigin() const override;
|
||||
#endif // WXWIN_COMPATIBILITY_3_2
|
||||
|
||||
bool m_release;
|
||||
int m_width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue