Rename m_pSampleMultiButtonEditor in propgrid sample too
Similar to the previous commit, just rename a member variable to avoid using "p" prefix for it which was inconsistent with the other variables in the same class.
This commit is contained in:
parent
5b064c0fde
commit
3ca2594c3a
2 changed files with 3 additions and 3 deletions
|
|
@ -1541,7 +1541,7 @@ void FormMain::PopulateWithExamples ()
|
|||
//
|
||||
// Test wxSampleMultiButtonEditor
|
||||
pg->Append( new wxLongStringProperty("MultipleButtons", wxPG_LABEL) );
|
||||
pg->SetPropertyEditor("MultipleButtons", m_pSampleMultiButtonEditor );
|
||||
pg->SetPropertyEditor("MultipleButtons", m_sampleMultiButtonEditor );
|
||||
|
||||
// Test SingleChoiceProperty
|
||||
pg->Append( new SingleChoiceProperty("SingleChoiceProperty") );
|
||||
|
|
@ -2103,7 +2103,7 @@ FormMain::FormMain(const wxString& title)
|
|||
wxPropertyGridInterface::RegisterAdditionalEditors();
|
||||
|
||||
// Register our sample custom editors
|
||||
m_pSampleMultiButtonEditor =
|
||||
m_sampleMultiButtonEditor =
|
||||
wxPropertyGrid::RegisterEditorClass(new wxSampleMultiButtonEditor());
|
||||
|
||||
m_panel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ public:
|
|||
wxLogWindow* m_logWindow;
|
||||
#endif
|
||||
|
||||
wxPGEditor* m_pSampleMultiButtonEditor;
|
||||
wxPGEditor* m_sampleMultiButtonEditor;
|
||||
wxPGChoices m_combinedFlags;
|
||||
|
||||
wxMenuItem* m_itemCatColours;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue