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;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
-
+
public:
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
int range, bool refresh = true );
// 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);
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() {}
+
protected:
// For controls like radio buttons which are genuinely composite
wxList m_subControls;