No changes, just remove redundant "inline" from wxOSX headers

There is no need for them in the methods declared in the class declaration
anyhow, so just remove them.

No real changes.
This commit is contained in:
Vadim Zeitlin
2015-10-25 18:20:32 +01:00
parent e9b379fe2a
commit 3f33ecc773
7 changed files with 20 additions and 20 deletions

View File

@@ -17,9 +17,9 @@
class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase
{ {
public: public:
inline wxGauge() { } wxGauge() { }
inline wxGauge(wxWindow *parent, wxWindowID id, wxGauge(wxWindow *parent, wxWindowID id,
int range, int range,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,

View File

@@ -20,8 +20,8 @@ class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
wxDECLARE_DYNAMIC_CLASS(wxMiniFrame); wxDECLARE_DYNAMIC_CLASS(wxMiniFrame);
public: public:
inline wxMiniFrame() {} wxMiniFrame() {}
inline wxMiniFrame(wxWindow *parent, wxMiniFrame(wxWindow *parent,
wxWindowID id, wxWindowID id,
const wxString& title, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,

View File

@@ -22,7 +22,7 @@ class WXDLLIMPEXP_CORE wxRadioBox: public wxControl, public wxRadioBoxBase
public: public:
// Constructors & destructor // Constructors & destructor
wxRadioBox(); wxRadioBox();
inline wxRadioBox(wxWindow *parent, wxWindowID id, const wxString& title, wxRadioBox(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL, int n = 0, const wxString choices[] = NULL,
int majorDim = 0, long style = wxRA_SPECIFY_COLS, int majorDim = 0, long style = wxRA_SPECIFY_COLS,
@@ -30,7 +30,7 @@ public:
{ {
Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name); Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name);
} }
inline wxRadioBox(wxWindow *parent, wxWindowID id, const wxString& title, wxRadioBox(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos, const wxSize& size, const wxPoint& pos, const wxSize& size,
const wxArrayString& choices, const wxArrayString& choices,
int majorDim = 0, long style = wxRA_SPECIFY_COLS, int majorDim = 0, long style = wxRA_SPECIFY_COLS,
@@ -82,8 +82,8 @@ public:
void SetFocus(); void SetFocus();
// Other variable access functions // Other variable access functions
inline int GetNumberOfRowsOrCols() const { return m_noRowsOrCols; } int GetNumberOfRowsOrCols() const { return m_noRowsOrCols; }
inline void SetNumberOfRowsOrCols(int n) { m_noRowsOrCols = n; } void SetNumberOfRowsOrCols(int n) { m_noRowsOrCols = n; }
void OnRadioButton( wxCommandEvent& event ) ; void OnRadioButton( wxCommandEvent& event ) ;

View File

@@ -16,8 +16,8 @@ class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
wxDECLARE_DYNAMIC_CLASS(wxRadioButton); wxDECLARE_DYNAMIC_CLASS(wxRadioButton);
public: public:
inline wxRadioButton() {} wxRadioButton() {}
inline wxRadioButton(wxWindow *parent, wxWindowID id, wxRadioButton(wxWindow *parent, wxWindowID id,
const wxString& label, const wxString& label,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0, const wxSize& size = wxDefaultSize, long style = 0,
@@ -43,7 +43,7 @@ public:
void Command(wxCommandEvent& event); void Command(wxCommandEvent& event);
wxRadioButton *AddInCycle(wxRadioButton *cycle); wxRadioButton *AddInCycle(wxRadioButton *cycle);
void RemoveFromCycle(); void RemoveFromCycle();
inline wxRadioButton *NextInCycle() {return m_cycle;} wxRadioButton *NextInCycle() {return m_cycle;}
// osx specific event handling common for all osx-ports // osx specific event handling common for all osx-ports
@@ -65,8 +65,8 @@ class WXDLLIMPEXP_CORE wxBitmapRadioButton: public wxRadioButton
protected: protected:
wxBitmap *theButtonBitmap; wxBitmap *theButtonBitmap;
public: public:
inline wxBitmapRadioButton() { theButtonBitmap = NULL; } wxBitmapRadioButton() { theButtonBitmap = NULL; }
inline wxBitmapRadioButton(wxWindow *parent, wxWindowID id, wxBitmapRadioButton(wxWindow *parent, wxWindowID id,
const wxBitmap *label, const wxBitmap *label,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0, const wxSize& size = wxDefaultSize, long style = 0,

View File

@@ -23,7 +23,7 @@ class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase
public: public:
wxSlider(); wxSlider();
inline wxSlider(wxWindow *parent, wxWindowID id, wxSlider(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue, int value, int minValue, int maxValue,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
@@ -49,14 +49,14 @@ public:
void SetRange(int minValue, int maxValue); void SetRange(int minValue, int maxValue);
inline int GetMin() const { return m_rangeMin; } int GetMin() const { return m_rangeMin; }
inline int GetMax() const { return m_rangeMax; } int GetMax() const { return m_rangeMax; }
void SetMin(int minValue) { SetRange(minValue, m_rangeMax); } void SetMin(int minValue) { SetRange(minValue, m_rangeMax); }
void SetMax(int maxValue) { SetRange(m_rangeMin, maxValue); } void SetMax(int maxValue) { SetRange(m_rangeMin, maxValue); }
// For trackbars only // For trackbars only
inline int GetTickFreq() const { return m_tickFreq; } int GetTickFreq() const { return m_tickFreq; }
void SetPageSize(int pageSize); void SetPageSize(int pageSize);
int GetPageSize() const ; int GetPageSize() const ;
void ClearSel() ; void ClearSel() ;

View File

@@ -16,8 +16,8 @@ class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
wxDECLARE_DYNAMIC_CLASS(wxStaticBox); wxDECLARE_DYNAMIC_CLASS(wxStaticBox);
public: public:
inline wxStaticBox() {} wxStaticBox() {}
inline wxStaticBox(wxWindow *parent, wxWindowID id, wxStaticBox(wxWindow *parent, wxWindowID id,
const wxString& label, const wxString& label,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,

View File

@@ -26,7 +26,7 @@ public:
wxToolBar() { Init(); } wxToolBar() { Init(); }
inline wxToolBar(wxWindow *parent, wxWindowID id, wxToolBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxTB_DEFAULT_STYLE, long style = wxTB_DEFAULT_STYLE,
const wxString& name = wxToolBarNameStr) const wxString& name = wxToolBarNameStr)