]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/lists/lists.cpp
wxPropertyGrid::DoPropertyChanged() incorrectly passed raw m_wndEditor pointer to...
[wxWidgets.git] / tests / lists / lists.cpp
index 16ea8a3d37ad9f46e2825050c43b0132efe73349..85eea4c98f7cb73895c4014b0e3918862019ebc7 100644 (file)
@@ -61,7 +61,7 @@ public:
 
    static size_t GetNumber() { return ms_bars; }
 
-   const wxChar *GetName() const { return m_name; }
+   const wxChar *GetName() const { return m_name.c_str(); }
 
 private:
    wxString m_name;