]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc.i
Added sizer.h
[wxWidgets.git] / wxPython / src / misc.i
index 9ef4364b598ed1279a1657b589acf9eaf5dbab97..bae3d066b9235f133f6da53600c7446eadc93165 100644 (file)
@@ -35,7 +35,7 @@ class wxObject {
 public:
 
     %addmethods {
-        const char* GetClassName() {
+        wxString GetClassName() {
             return self->GetClassInfo()->GetClassName();
         }
 
@@ -357,8 +357,9 @@ bool wxYieldIfNeeded();
 void wxEnableTopLevelWindows(bool enable);
 
 %inline %{
-    char* wxGetResource(char *section, char *entry, char *file = NULL) {
-        char * retval;
+    wxString wxGetResource(const wxString& section, const wxString& entry,
+                          const wxString& file = wxEmptyString) {
+        wxChar * retval;
         wxGetResource(section, entry, &retval, file);
         return retval;
     }