Don't pass parameters to wxSizerXmlHandler::GetGB{Pos,Span}()

This doesn't make sense, these functions can only be ever used with a single
parameter ("cellpos" for the former and "cellspan" for the latter), so just
hard-code it inside the functions themselves.

No real changes, just make the code less confusing.
This commit is contained in:
Vadim Zeitlin
2016-07-06 18:51:10 +02:00
parent 50c16da687
commit 4c0e272589
2 changed files with 8 additions and 8 deletions

View File

@@ -52,8 +52,8 @@ private:
bool ValidateGridSizerChildren();
void SetFlexibleMode(wxFlexGridSizer* fsizer);
void SetGrowables(wxFlexGridSizer* fsizer, const wxChar* param, bool rows);
wxGBPosition GetGBPos(const wxString& param);
wxGBSpan GetGBSpan(const wxString& param);
wxGBPosition GetGBPos();
wxGBSpan GetGBSpan();
wxSizerItem* MakeSizerItem();
void SetSizerItemAttributes(wxSizerItem* sitem);
void AddSizerItem(wxSizerItem* sitem);