optimization for faster execution: don't use wxString::Replace() all the times a wxType comparison is required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,10 +55,9 @@ public:
|
||||
bool IsOk() const;
|
||||
|
||||
protected:
|
||||
wxString m_strType;
|
||||
|
||||
// utility for doing comparisons
|
||||
wxString GetClean() const;
|
||||
wxString m_strType,
|
||||
m_strTypeClean; // m_strType "cleaned" of its attributes
|
||||
// (only for internal use)
|
||||
};
|
||||
|
||||
extern wxType wxEmptyType;
|
||||
|
Reference in New Issue
Block a user