don't try O(N) actions in virtual view, this gives impression that the sample hangs (as in bug 857038)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-02-08 15:16:21 +00:00
parent 055898b8f0
commit 684571809d
2 changed files with 22 additions and 0 deletions

View File

@@ -133,6 +133,11 @@ private:
void InitWithIconItems(bool withText, bool sameIcon = FALSE);
void InitWithVirtualItems();
// return true if the control is not in virtual view, give an error message
// and return false if it is
bool CheckNonVirtual() const;
wxLog *m_logOld;
DECLARE_NO_COPY_CLASS(MyFrame)