Use default wxPropertyGrid validation failure behavior in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2180,7 +2180,9 @@ void FormMain::CreateGrid( int style, int extraStyle )
|
|||||||
|
|
||||||
pgman->SetExtraStyle(extraStyle);
|
pgman->SetExtraStyle(extraStyle);
|
||||||
|
|
||||||
m_pPropGridManager->SetValidationFailureBehavior( wxPG_VFB_BEEP | wxPG_VFB_MARK_CELL | wxPG_VFB_SHOW_MESSAGE );
|
// This is the default validation failure behavior
|
||||||
|
m_pPropGridManager->SetValidationFailureBehavior( wxPG_VFB_MARK_CELL |
|
||||||
|
wxPG_VFB_SHOW_MESSAGEBOX );
|
||||||
|
|
||||||
m_pPropGridManager->GetGrid()->SetVerticalSpacing( 2 );
|
m_pPropGridManager->GetGrid()->SetVerticalSpacing( 2 );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user