Disabled top-level parent tracking by default (crashes with AUI), must now use wxPG_EX_ENABLE_TLP_TRACKING style to enable old behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -260,10 +260,27 @@ wxPG_EX_HIDE_PAGE_BUTTONS = 0x01000000,
|
||||
selected). Other useful member functions are ClearSelection(),
|
||||
AddToSelection() and RemoveFromSelection().
|
||||
*/
|
||||
wxPG_EX_MULTIPLE_SELECTION = 0x02000000
|
||||
wxPG_EX_MULTIPLE_SELECTION = 0x02000000,
|
||||
|
||||
/**
|
||||
This enables top-level window tracking which allows wxPropertyGrid to
|
||||
notify the application of last-minute property value changes by user.
|
||||
|
||||
This style is not enabled by default because it may cause crashes when
|
||||
wxPropertyGrid is used in with wxAUI or similar system.
|
||||
|
||||
@remarks If you are not in fact using any system that may change
|
||||
wxPropertyGrid's top-level parent window on its own, then you
|
||||
are recommended to enable this style.
|
||||
*/
|
||||
wxPG_EX_ENABLE_TLP_TRACKING = 0x04000000
|
||||
|
||||
};
|
||||
|
||||
#if wxPG_COMPATIBILITY_1_4
|
||||
#define wxPG_EX_DISABLE_TLP_TRACKING 0x00000000
|
||||
#endif
|
||||
|
||||
/** Combines various styles.
|
||||
*/
|
||||
#define wxPG_DEFAULT_STYLE (0)
|
||||
|
Reference in New Issue
Block a user