]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/xrc/xmlres.h
reset the associated view frame pointer when the frame is deleted directly instead...
[wxWidgets.git] / interface / wx / xrc / xmlres.h
index 41fdb748ebb76898ee4df80247c2295cf5aba366..460b7fa71422073aa14430832a35496fccd9f339 100644 (file)
@@ -196,10 +196,27 @@ public:
                 wxLogError("Couldn't load resources!");
         @endcode
 
-        This method understands VFS (see wxFileSystem::FindFirst).
+        @note
+        If wxUSE_FILESYS is enabled, this method understands wxFileSystem URLs
+        (see wxFileSystem::FindFirst()).
+
+        @note
+        If you are sure that the argument is name of single XRC file (rather
+        than an URL or a wildcard), use LoadFile() instead.
+
+        @see LoadFile()
     */
     bool Load(const wxString& filemask);
 
+    /**
+        Simpler form of Load() for loading a single XRC file.
+
+        @since 2.9.0
+
+        @see Load()
+    */
+    bool LoadFile(const wxFileName& file);
+
     /**
         Loads a bitmap resource from a file.
     */