Don't define wxSelectionStore::NO_SELECTION inline.
This results in link errors under Unix for some reason. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
52476a443e
commit
908bf66242
@ -94,7 +94,7 @@ public:
|
||||
typedef size_t IterationState;
|
||||
|
||||
// constant representing absence of selection and hence end of iteration
|
||||
static const unsigned NO_SELECTION = static_cast<unsigned>(-1);
|
||||
static const unsigned NO_SELECTION;
|
||||
|
||||
// get the first selected item in index order, return NO_SELECTION if none
|
||||
unsigned GetFirstSelectedItem(IterationState& cookie) const;
|
||||
|
@ -28,6 +28,8 @@
|
||||
// wxSelectionStore
|
||||
// ============================================================================
|
||||
|
||||
const unsigned wxSelectionStore::NO_SELECTION = static_cast<unsigned>(-1);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// tests
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user