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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user