No changes, just factor our wxDirection parsing code in wxXRC.
Move it from wxButtonXmlHandler into a reusable wxXmlResourceHandler:: GetDirection() that can used by the other handlers too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -558,6 +558,9 @@ protected:
|
||||
wxCoord GetDimension(const wxString& param, wxCoord defaultv = 0,
|
||||
wxWindow *windowToUse = NULL);
|
||||
|
||||
// Gets a direction, complains if the value is invalid.
|
||||
wxDirection GetDirection(const wxString& param, wxDirection dir = wxLEFT);
|
||||
|
||||
// Gets a bitmap.
|
||||
wxBitmap GetBitmap(const wxString& param = wxT("bitmap"),
|
||||
const wxArtClient& defaultArtClient = wxART_OTHER,
|
||||
|
Reference in New Issue
Block a user