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:
Francesco Montorsi
2008-03-30 15:50:40 +00:00
parent b64d83f52b
commit 658d98040d
2 changed files with 14 additions and 17 deletions

View File

@@ -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;