make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -243,11 +243,12 @@ protected:
|
|||||||
|
|
||||||
virtual wxBorder GetDefaultBorder() const;
|
virtual wxBorder GetDefaultBorder() const;
|
||||||
|
|
||||||
|
virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void CreateOrDestroyHeaderWindowAsNeeded();
|
void CreateOrDestroyHeaderWindowAsNeeded();
|
||||||
void OnScroll( wxScrollWinEvent& event );
|
void OnScroll( wxScrollWinEvent& event );
|
||||||
void OnSize( wxSizeEvent &event );
|
void OnSize( wxSizeEvent &event );
|
||||||
virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
|
|
||||||
|
|
||||||
// we need to return a special WM_GETDLGCODE value to process just the
|
// we need to return a special WM_GETDLGCODE value to process just the
|
||||||
// arrows but let the other navigation characters through
|
// arrows but let the other navigation characters through
|
||||||
|
@@ -901,14 +901,16 @@ public:
|
|||||||
virtual void UpdateLine( unsigned int n, wxListWidgetColumn* col = NULL );
|
virtual void UpdateLine( unsigned int n, wxListWidgetColumn* col = NULL );
|
||||||
virtual void UpdateLineToEnd( unsigned int n) ;
|
virtual void UpdateLineToEnd( unsigned int n) ;
|
||||||
|
|
||||||
|
// pointing back
|
||||||
|
|
||||||
|
wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
|
||||||
|
|
||||||
|
protected:
|
||||||
virtual void ItemNotification(
|
virtual void ItemNotification(
|
||||||
DataBrowserItemID itemID,
|
DataBrowserItemID itemID,
|
||||||
DataBrowserItemNotification message,
|
DataBrowserItemNotification message,
|
||||||
DataBrowserItemDataRef itemData);
|
DataBrowserItemDataRef itemData);
|
||||||
|
|
||||||
// pointing back
|
|
||||||
|
|
||||||
wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
|
|
||||||
private:
|
private:
|
||||||
wxArrayMacDataBrowserColumns m_columns;
|
wxArrayMacDataBrowserColumns m_columns;
|
||||||
int m_nextColumnId ;
|
int m_nextColumnId ;
|
||||||
|
@@ -36,12 +36,13 @@ public:
|
|||||||
void SetHCURSOR(WXHCURSOR cursor);
|
void SetHCURSOR(WXHCURSOR cursor);
|
||||||
WXHCURSOR GetHCURSOR() const;
|
WXHCURSOR GetHCURSOR() const;
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
void InitFromStock(wxStockCursor);
|
|
||||||
|
|
||||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
void InitFromStock(wxStockCursor);
|
||||||
|
|
||||||
void CreateFromImage(const wxImage & image) ;
|
void CreateFromImage(const wxImage & image) ;
|
||||||
|
|
||||||
DECLARE_DYNAMIC_CLASS(wxCursor)
|
DECLARE_DYNAMIC_CLASS(wxCursor)
|
||||||
|
@@ -88,6 +88,9 @@ public:
|
|||||||
|
|
||||||
void PositionBars();
|
void PositionBars();
|
||||||
|
|
||||||
|
// osx specific event handling common for all osx-ports
|
||||||
|
virtual void HandleResized( double timestampsec );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
void Init();
|
||||||
@@ -108,16 +111,11 @@ protected:
|
|||||||
virtual void AttachMenuBar(wxMenuBar *menubar);
|
virtual void AttachMenuBar(wxMenuBar *menubar);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// osx specific event handling common for all osx-ports
|
|
||||||
virtual void HandleResized( double timestampsec );
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// the last focused child: we restore focus to it on activation
|
// the last focused child: we restore focus to it on activation
|
||||||
wxWindow *m_winLastFocused;
|
wxWindow *m_winLastFocused;
|
||||||
|
|
||||||
virtual bool MacIsChildOfClientArea( const wxWindow* child ) const ;
|
virtual bool MacIsChildOfClientArea( const wxWindow* child ) const ;
|
||||||
|
|
||||||
private:
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
DECLARE_DYNAMIC_CLASS(wxFrame)
|
DECLARE_DYNAMIC_CLASS(wxFrame)
|
||||||
};
|
};
|
||||||
|
@@ -15,8 +15,7 @@
|
|||||||
|
|
||||||
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
|
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
|
public:
|
||||||
|
|
||||||
wxStatusBarMac();
|
wxStatusBarMac();
|
||||||
wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
|
wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
|
||||||
long style = wxSTB_DEFAULT_STYLE,
|
long style = wxSTB_DEFAULT_STYLE,
|
||||||
@@ -28,16 +27,16 @@ class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
|
|||||||
long style = wxSTB_DEFAULT_STYLE,
|
long style = wxSTB_DEFAULT_STYLE,
|
||||||
const wxString& name = wxStatusBarNameStr);
|
const wxString& name = wxStatusBarNameStr);
|
||||||
|
|
||||||
virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
|
|
||||||
virtual void DrawField(wxDC& dc, int i, int textHeight);
|
|
||||||
|
|
||||||
// Implementation
|
// Implementation
|
||||||
virtual void MacHiliteChanged();
|
virtual void MacHiliteChanged();
|
||||||
void OnPaint(wxPaintEvent& event);
|
void OnPaint(wxPaintEvent& event);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
|
||||||
|
virtual void DrawField(wxDC& dc, int i, int textHeight);
|
||||||
virtual void DoUpdateStatusText(int number = 0);
|
virtual void DoUpdateStatusText(int number = 0);
|
||||||
|
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -115,7 +115,6 @@ public:
|
|||||||
wxRibbonPage* GetPage(int n);
|
wxRibbonPage* GetPage(int n);
|
||||||
bool DismissExpandedPanel();
|
bool DismissExpandedPanel();
|
||||||
|
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
virtual bool HasMultiplePages() const { return true; }
|
virtual bool HasMultiplePages() const { return true; }
|
||||||
|
|
||||||
void SetWindowStyleFlag(long style);
|
void SetWindowStyleFlag(long style);
|
||||||
@@ -125,6 +124,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
friend class wxRibbonPage;
|
friend class wxRibbonPage;
|
||||||
|
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);
|
wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);
|
||||||
|
|
||||||
|
@@ -87,9 +87,9 @@ public:
|
|||||||
virtual bool IsSizingContinuous() const;
|
virtual bool IsSizingContinuous() const;
|
||||||
|
|
||||||
virtual wxSize GetMinSize() const;
|
virtual wxSize GetMinSize() const;
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
protected:
|
protected:
|
||||||
friend class wxRibbonButtonBarEvent;
|
friend class wxRibbonButtonBarEvent;
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
void OnEraseBackground(wxEraseEvent& evt);
|
void OnEraseBackground(wxEraseEvent& evt);
|
||||||
|
@@ -46,7 +46,6 @@ public:
|
|||||||
|
|
||||||
wxBitmap& GetIcon() {return m_icon;}
|
wxBitmap& GetIcon() {return m_icon;}
|
||||||
virtual wxSize GetMinSize() const;
|
virtual wxSize GetMinSize() const;
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
void SetSizeWithScrollButtonAdjustment(int x, int y, int width, int height);
|
void SetSizeWithScrollButtonAdjustment(int x, int y, int width, int height);
|
||||||
void AdjustRectToIncludeScrollButtons(wxRect* rect) const;
|
void AdjustRectToIncludeScrollButtons(wxRect* rect) const;
|
||||||
|
|
||||||
@@ -63,6 +62,7 @@ public:
|
|||||||
virtual void RemoveChild(wxWindowBase *child);
|
virtual void RemoveChild(wxWindowBase *child);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
||||||
|
@@ -65,7 +65,6 @@ public:
|
|||||||
virtual bool Realize();
|
virtual bool Realize();
|
||||||
virtual bool Layout();
|
virtual bool Layout();
|
||||||
virtual wxSize GetMinSize() const;
|
virtual wxSize GetMinSize() const;
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
|
|
||||||
virtual bool IsSizingContinuous() const;
|
virtual bool IsSizingContinuous() const;
|
||||||
|
|
||||||
@@ -76,6 +75,7 @@ public:
|
|||||||
wxRibbonPanel* GetExpandedPanel();
|
wxRibbonPanel* GetExpandedPanel();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
wxSize GetMinNotMinimisedSize() const;
|
wxSize GetMinNotMinimisedSize() const;
|
||||||
|
|
||||||
|
@@ -88,10 +88,10 @@ public:
|
|||||||
virtual void SetRows(int nMin, int nMax = -1);
|
virtual void SetRows(int nMin, int nMax = -1);
|
||||||
|
|
||||||
virtual bool IsSizingContinuous() const;
|
virtual bool IsSizingContinuous() const;
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend class wxRibbonToolBarEvent;
|
friend class wxRibbonToolBarEvent;
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
void OnEraseBackground(wxEraseEvent& evt);
|
void OnEraseBackground(wxEraseEvent& evt);
|
||||||
|
@@ -714,7 +714,6 @@ protected:
|
|||||||
virtual bool DoLoadFile(const wxString& file, int fileType);
|
virtual bool DoLoadFile(const wxString& file, int fileType);
|
||||||
virtual bool DoSaveFile(const wxString& file, int fileType);
|
virtual bool DoSaveFile(const wxString& file, int fileType);
|
||||||
|
|
||||||
private:
|
|
||||||
// implement the wxTextEntry pure virtual method
|
// implement the wxTextEntry pure virtual method
|
||||||
virtual wxWindow *GetEditableWindow() { return this; }
|
virtual wxWindow *GetEditableWindow() { return this; }
|
||||||
|
|
||||||
|
@@ -1411,6 +1411,12 @@ public:
|
|||||||
// used only by Windows
|
// used only by Windows
|
||||||
virtual bool CanApplyThemeBorder() const { return true; }
|
virtual bool CanApplyThemeBorder() const { return true; }
|
||||||
|
|
||||||
|
// returns the main window of composite control; this is the window
|
||||||
|
// that FindFocus returns if the focus is in one of composite control's
|
||||||
|
// windows
|
||||||
|
virtual wxWindow *GetMainWindowOfCompositeControl()
|
||||||
|
{ return (wxWindow*)this; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// helper for the derived class Create() methods: the first overload, with
|
// helper for the derived class Create() methods: the first overload, with
|
||||||
// validator parameter, should be used for child windows while the second
|
// validator parameter, should be used for child windows while the second
|
||||||
@@ -1458,12 +1464,6 @@ protected:
|
|||||||
// to true
|
// to true
|
||||||
void SendDestroyEvent();
|
void SendDestroyEvent();
|
||||||
|
|
||||||
// returns the main window of composite control; this is the window
|
|
||||||
// that FindFocus returns if the focus is in one of composite control's
|
|
||||||
// windows
|
|
||||||
virtual wxWindow *GetMainWindowOfCompositeControl()
|
|
||||||
{ return (wxWindow*)this; }
|
|
||||||
|
|
||||||
// this method should be implemented to use operating system specific code
|
// this method should be implemented to use operating system specific code
|
||||||
// to really enable/disable the widget, it will only be called when we
|
// to really enable/disable the widget, it will only be called when we
|
||||||
// really need to enable/disable window and so no additional checks on the
|
// really need to enable/disable window and so no additional checks on the
|
||||||
|
Reference in New Issue
Block a user