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:
@@ -94,7 +94,7 @@ public:
|
|||||||
typedef size_t IterationState;
|
typedef size_t IterationState;
|
||||||
|
|
||||||
// constant representing absence of selection and hence end of iteration
|
// 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
|
// get the first selected item in index order, return NO_SELECTION if none
|
||||||
unsigned GetFirstSelectedItem(IterationState& cookie) const;
|
unsigned GetFirstSelectedItem(IterationState& cookie) const;
|
||||||
|
@@ -28,6 +28,8 @@
|
|||||||
// wxSelectionStore
|
// wxSelectionStore
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
const unsigned wxSelectionStore::NO_SELECTION = static_cast<unsigned>(-1);
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// tests
|
// tests
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user