X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6062fe5c9e63cae73d1705fecc32587f0b80270f..880d76dfb12d4e8466df30d641bb25c6f71bd398:/include/wx/osx/window.h diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index 757455f813..3cfa8817f2 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -259,7 +259,10 @@ public: // optimization to avoid creating a user pane in wxWindow::Create if we already know // we will replace it with our own peer void DontCreatePeer(); - + + // return true unless DontCreatePeer() had been called + bool ShouldCreatePeer() const; + // sets the native implementation wrapper, can replace an existing peer, use peer = NULL to // release existing peer void SetPeer(wxOSXWidgetImpl* peer); @@ -283,6 +286,7 @@ public: virtual bool OSXHandleClicked( double timestampsec ); virtual bool OSXHandleKeyEvent( wxKeyEvent& event ); + virtual void OSXSimulateFocusEvents(); bool IsNativeWindowWrapper() const { return m_isNativeWindowWrapper; }