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:
parent
470ee71463
commit
cff9681b85
@ -243,11 +243,12 @@ protected:
|
||||
|
||||
virtual wxBorder GetDefaultBorder() const;
|
||||
|
||||
virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
|
||||
|
||||
private:
|
||||
void CreateOrDestroyHeaderWindowAsNeeded();
|
||||
void OnScroll( wxScrollWinEvent& event );
|
||||
void OnSize( wxSizeEvent &event );
|
||||
virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
|
||||
|
||||
// we need to return a special WM_GETDLGCODE value to process just the
|
||||
// arrows but let the other navigation characters through
|
||||
|
@ -901,14 +901,16 @@ public:
|
||||
virtual void UpdateLine( unsigned int n, wxListWidgetColumn* col = NULL );
|
||||
virtual void UpdateLineToEnd( unsigned int n) ;
|
||||
|
||||
// pointing back
|
||||
|
||||
wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
|
||||
|
||||
protected:
|
||||
virtual void ItemNotification(
|
||||
DataBrowserItemID itemID,
|
||||
DataBrowserItemNotification message,
|
||||
DataBrowserItemDataRef itemData);
|
||||
|
||||
// pointing back
|
||||
|
||||
wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
|
||||
private:
|
||||
wxArrayMacDataBrowserColumns m_columns;
|
||||
int m_nextColumnId ;
|
||||
|
@ -36,12 +36,13 @@ public:
|
||||
void SetHCURSOR(WXHCURSOR cursor);
|
||||
WXHCURSOR GetHCURSOR() const;
|
||||
|
||||
private:
|
||||
void InitFromStock(wxStockCursor);
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
|
||||
private:
|
||||
void InitFromStock(wxStockCursor);
|
||||
|
||||
void CreateFromImage(const wxImage & image) ;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxCursor)
|
||||
|
@ -88,6 +88,9 @@ public:
|
||||
|
||||
void PositionBars();
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
virtual void HandleResized( double timestampsec );
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
@ -108,16 +111,11 @@ protected:
|
||||
virtual void AttachMenuBar(wxMenuBar *menubar);
|
||||
#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
|
||||
wxWindow *m_winLastFocused;
|
||||
|
||||
virtual bool MacIsChildOfClientArea( const wxWindow* child ) const ;
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxFrame)
|
||||
};
|
||||
|
@ -15,8 +15,7 @@
|
||||
|
||||
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
|
||||
|
||||
public:
|
||||
wxStatusBarMac();
|
||||
wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
|
||||
long style = wxSTB_DEFAULT_STYLE,
|
||||
@ -28,16 +27,16 @@ class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
|
||||
long style = wxSTB_DEFAULT_STYLE,
|
||||
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
|
||||
virtual void MacHiliteChanged();
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
|
||||
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);
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
@ -115,7 +115,6 @@ public:
|
||||
wxRibbonPage* GetPage(int n);
|
||||
bool DismissExpandedPanel();
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual bool HasMultiplePages() const { return true; }
|
||||
|
||||
void SetWindowStyleFlag(long style);
|
||||
@ -125,6 +124,7 @@ public:
|
||||
protected:
|
||||
friend class wxRibbonPage;
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);
|
||||
|
||||
|
@ -87,9 +87,9 @@ public:
|
||||
virtual bool IsSizingContinuous() const;
|
||||
|
||||
virtual wxSize GetMinSize() const;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
protected:
|
||||
friend class wxRibbonButtonBarEvent;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
|
||||
void OnEraseBackground(wxEraseEvent& evt);
|
||||
|
@ -46,7 +46,6 @@ public:
|
||||
|
||||
wxBitmap& GetIcon() {return m_icon;}
|
||||
virtual wxSize GetMinSize() const;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
void SetSizeWithScrollButtonAdjustment(int x, int y, int width, int height);
|
||||
void AdjustRectToIncludeScrollButtons(wxRect* rect) const;
|
||||
|
||||
@ -63,6 +62,7 @@ public:
|
||||
virtual void RemoveChild(wxWindowBase *child);
|
||||
|
||||
protected:
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
|
||||
void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
||||
|
@ -65,7 +65,6 @@ public:
|
||||
virtual bool Realize();
|
||||
virtual bool Layout();
|
||||
virtual wxSize GetMinSize() const;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
virtual bool IsSizingContinuous() const;
|
||||
|
||||
@ -76,6 +75,7 @@ public:
|
||||
wxRibbonPanel* GetExpandedPanel();
|
||||
|
||||
protected:
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
wxSize GetMinNotMinimisedSize() const;
|
||||
|
||||
|
@ -88,10 +88,10 @@ public:
|
||||
virtual void SetRows(int nMin, int nMax = -1);
|
||||
|
||||
virtual bool IsSizingContinuous() const;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
protected:
|
||||
friend class wxRibbonToolBarEvent;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
|
||||
void OnEraseBackground(wxEraseEvent& evt);
|
||||
|
@ -714,7 +714,6 @@ protected:
|
||||
virtual bool DoLoadFile(const wxString& file, int fileType);
|
||||
virtual bool DoSaveFile(const wxString& file, int fileType);
|
||||
|
||||
private:
|
||||
// implement the wxTextEntry pure virtual method
|
||||
virtual wxWindow *GetEditableWindow() { return this; }
|
||||
|
||||
|
@ -1411,6 +1411,12 @@ public:
|
||||
// used only by Windows
|
||||
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:
|
||||
// helper for the derived class Create() methods: the first overload, with
|
||||
// validator parameter, should be used for child windows while the second
|
||||
@ -1458,12 +1464,6 @@ protected:
|
||||
// to true
|
||||
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
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user