]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxGtkString::c_str()
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Mar 2006 13:31:35 +0000 (13:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Mar 2006 13:31:35 +0000 (13:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/private.h

index bad72b53f2507c048804c912eade0425c5024c11..2ce2865725f3fbf12c5ee31d08941f272af4e66f 100644 (file)
@@ -70,6 +70,8 @@ public:
     explicit wxGtkString(gchar *s) : m_str(s) { }
     ~wxGtkString() { g_free(m_str); }
 
+    const gchar *c_str() const { return m_str; }
+
     operator gchar *() const { return m_str; }
 
 private: