X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce63f2e9eb49fb50a6dbd188f29116a670c9f922..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/osx/window.h diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index c97e979c8a..3af0c97038 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -55,6 +55,8 @@ public: long style = 0, const wxString& name = wxPanelNameStr ); + virtual void SendSizeEvent(int flags = 0); + // implement base class pure virtuals virtual void SetLabel( const wxString& label ); virtual wxString GetLabel() const; @@ -95,7 +97,7 @@ public: virtual int GetCharHeight() const; virtual int GetCharWidth() const; - + public: virtual void SetScrollbar( int orient, int pos, int thumbVisible, int range, bool refresh = true ); @@ -286,10 +288,11 @@ public: virtual bool OSXHandleClicked( double timestampsec ); virtual bool OSXHandleKeyEvent( wxKeyEvent& event ); + virtual void OSXSimulateFocusEvents(); bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; } - float GetContentScaleFactor() const ; + double GetContentScaleFactor() const ; // internal response to size events virtual void MacOnInternalSize() {}