mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
wxWidgets3: update to svn r70933
This commit is contained in:
14
Externals/wxWidgets3/include/wx/combobox.h
vendored
14
Externals/wxWidgets3/include/wx/combobox.h
vendored
@ -4,7 +4,7 @@
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Created: 24.12.00
|
||||
// RCS-ID: $Id: combobox.h 63242 2010-01-24 01:00:45Z VZ $
|
||||
// RCS-ID: $Id: combobox.h 70165 2011-12-29 14:42:13Z SN $
|
||||
// Copyright: (c) 1996-2000 wxWidgets team
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@ -36,7 +36,13 @@ public:
|
||||
wxItemContainer::Clear();
|
||||
}
|
||||
|
||||
bool IsEmpty() const { return wxItemContainer::IsEmpty(); }
|
||||
// IsEmpty() is ambiguous because we inherit it from both wxItemContainer
|
||||
// and wxTextEntry, and even if defined it here to help the compiler with
|
||||
// choosing one of them, it would still be confusing for the human users of
|
||||
// this class. So instead define the clearly named methods below and leave
|
||||
// IsEmpty() ambiguous to trigger a compilation error if it's used.
|
||||
bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
|
||||
bool IsTextEmpty() const { return wxTextEntry::IsEmpty(); }
|
||||
|
||||
// also bring in GetSelection() versions of both base classes in scope
|
||||
//
|
||||
@ -47,8 +53,8 @@ public:
|
||||
virtual int GetSelection() const = 0;
|
||||
virtual void GetSelection(long *from, long *to) const = 0;
|
||||
|
||||
virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); };
|
||||
virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); };
|
||||
virtual void Popup() { wxFAIL_MSG( wxT("Not implemented") ); }
|
||||
virtual void Dismiss() { wxFAIL_MSG( wxT("Not implemented") ); }
|
||||
|
||||
// may return value different from GetSelection() when the combobox
|
||||
// dropdown is shown and the user selected, but not yet accepted, a value
|
||||
|
Reference in New Issue
Block a user