Don't allow reordering wxPropertyGrid header columns

wxPropertyGrid is designed to work with fixed order of columns.
This commit is contained in:
Artur Wieczorek
2019-01-20 18:25:45 +01:00
parent 4c9684f8d1
commit 547db34ce4

View File

@@ -1641,7 +1641,7 @@ void wxPropertyGridManager::RecreateControls()
if ( !m_pHeaderCtrl )
{
wxPGHeaderCtrl* hc = new wxPGHeaderCtrl(this);
hc->Create(this, wxID_ANY);
hc->Create(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0);
m_pHeaderCtrl = hc;
}
else