Border corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,6 +142,8 @@ public:
|
|||||||
wxRadioBoxButtonsInfoList m_buttonsInfo;
|
wxRadioBoxButtonsInfoList m_buttonsInfo;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
#if wxUSE_TOOLTIPS
|
#if wxUSE_TOOLTIPS
|
||||||
virtual void DoSetItemToolTip(unsigned int n, wxToolTip *tooltip);
|
virtual void DoSetItemToolTip(unsigned int n, wxToolTip *tooltip);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -54,6 +54,8 @@ public:
|
|||||||
bool m_blockEvent;
|
bool m_blockEvent;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
virtual wxSize DoGetBestSize() const;
|
virtual wxSize DoGetBestSize() const;
|
||||||
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
|
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
|
||||||
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
||||||
|
@@ -113,6 +113,7 @@ public:
|
|||||||
virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
|
virtual WXWidget GetLabelWidget() const { return m_labelWidget; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
virtual void DoSetSize(int x, int y,
|
virtual void DoSetSize(int x, int y,
|
||||||
int width, int height,
|
int width, int height,
|
||||||
int sizeFlags = wxSIZE_AUTO);
|
int sizeFlags = wxSIZE_AUTO);
|
||||||
|
@@ -48,6 +48,8 @@ public:
|
|||||||
// clears the selection in the radiobuttons in the cycle
|
// clears the selection in the radiobuttons in the cycle
|
||||||
// and returns the old selection (if any)
|
// and returns the old selection (if any)
|
||||||
wxRadioButton* ClearSelections();
|
wxRadioButton* ClearSelections();
|
||||||
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
private:
|
private:
|
||||||
wxRadioButton* AddInCycle(wxRadioButton* cycle);
|
wxRadioButton* AddInCycle(wxRadioButton* cycle);
|
||||||
void RemoveFromCycle();
|
void RemoveFromCycle();
|
||||||
|
@@ -54,6 +54,7 @@ public:
|
|||||||
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
virtual wxSize DoGetBestSize() const;
|
virtual wxSize DoGetBestSize() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -165,6 +165,7 @@ public:
|
|||||||
wxString GetLabel(int nItem) const;
|
wxString GetLabel(int nItem) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
virtual wxSize DoGetBestSize(void) const;
|
virtual wxSize DoGetBestSize(void) const;
|
||||||
virtual void DoSetSize( int nX
|
virtual void DoSetSize( int nX
|
||||||
,int nY
|
,int nY
|
||||||
|
@@ -66,6 +66,7 @@ public:
|
|||||||
virtual void SetFocus(void);
|
virtual void SetFocus(void);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
virtual wxSize DoGetBestSize() const;
|
virtual wxSize DoGetBestSize() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -96,6 +96,8 @@ protected:
|
|||||||
#endif // wxUSE_TOOLTIPS
|
#endif // wxUSE_TOOLTIPS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
// return the number of items in major direction (which depends on whether
|
// return the number of items in major direction (which depends on whether
|
||||||
// we have wxRA_SPECIFY_COLS or wxRA_SPECIFY_ROWS style)
|
// we have wxRA_SPECIFY_COLS or wxRA_SPECIFY_ROWS style)
|
||||||
unsigned int GetMajorDim() const { return m_majorDim; }
|
unsigned int GetMajorDim() const { return m_majorDim; }
|
||||||
|
@@ -120,6 +120,8 @@ public:
|
|||||||
bool OnKeyDown(wxKeyEvent& event);
|
bool OnKeyDown(wxKeyEvent& event);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
// override the base class methods dealing with window positioning/sizing
|
// override the base class methods dealing with window positioning/sizing
|
||||||
// as we must move/size the buttons as well
|
// as we must move/size the buttons as well
|
||||||
virtual void DoMoveWindow(int x, int y, int width, int height);
|
virtual void DoMoveWindow(int x, int y, int width, int height);
|
||||||
|
@@ -51,6 +51,8 @@ public:
|
|||||||
virtual void ChangeValue(bool value);
|
virtual void ChangeValue(bool value);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||||
|
|
||||||
// implement our own drawing
|
// implement our own drawing
|
||||||
virtual void DoDraw(wxControlRenderer *renderer);
|
virtual void DoDraw(wxControlRenderer *renderer);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user