Fix wxPG_PROP_ACTIVE_BTN flag definition

wxPG_PROP_ACTIVE_BTN and wxPG_PROP_SHOW_FULL_FILENAME can be used together
(like e.g. in wxFileProperty) so they can't share the same value
(wxPG_PROP_CLASS_SPECIFIC_1).

Closes #23565.
This commit is contained in:
Artur Wieczorek 2023-06-02 23:23:46 +02:00
parent 865def904b
commit 57a9247889

View file

@ -632,7 +632,7 @@ protected:
// Flag used in wxLongStringProperty to mark that edit button
// should be enabled even in the read-only mode.
constexpr wxPGPropertyFlags wxPG_PROP_ACTIVE_BTN = wxPG_PROP_CLASS_SPECIFIC_1;
constexpr wxPGPropertyFlags wxPG_PROP_ACTIVE_BTN = wxPG_PROP_CLASS_SPECIFIC_2;
// Like wxStringProperty, but has a button that triggers a small text
// editor dialog.