Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names and labels for the two root properties (to help with debugging); Refactored wxPropertyGridState::DoInsert()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-01-31 11:48:28 +00:00
parent 3f8cdda485
commit 94b8ecf1cd
4 changed files with 40 additions and 49 deletions

View File

@@ -569,9 +569,6 @@ public:
bool IsInNonCatMode() const { return (bool)(m_properties == m_abcArray); }
/** Only inits arrays, doesn't migrate things or such. */
void InitNonCatMode ();
void DoLimitPropertyEditing( wxPGProperty* p, bool limit = true )
{
p->SetFlagRecursively(wxPG_PROP_NOEDITOR, limit);
@@ -707,6 +704,10 @@ protected:
unsigned char m_anyModified;
unsigned char m_vhCalcPending;
private:
/** Only inits arrays, doesn't migrate things or such. */
void InitNonCatMode();
};
#endif // #ifndef SWIG