Use wxPropertyGrid::HasInternalFlag() function to check internal flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1640,7 +1640,7 @@ wxPGWindowList wxPGCheckBoxEditor::CreateControls( wxPropertyGrid* propGrid,
|
||||
|
||||
if ( !property->IsValueUnspecified() )
|
||||
{
|
||||
if ( propGrid->GetInternalFlags() & wxPG_FL_ACTIVATION_BY_CLICK )
|
||||
if ( propGrid->HasInternalFlag(wxPG_FL_ACTIVATION_BY_CLICK) )
|
||||
{
|
||||
// Send the event to toggle the value (if mouse cursor is on the item)
|
||||
wxPoint point = cb->ScreenToClient(::wxGetMousePosition());
|
||||
|
Reference in New Issue
Block a user