]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/icon.h
Fix for wxTextCtrl::GetSelection for singel line controls in GTK2 mode
[wxWidgets.git] / include / wx / os2 / icon.h
index 035506f8c7b77b5acf3a0c535dcd317d3da624d4..3f138fb02a7bfdfef3d716b1779a2182bef69ba0 100644 (file)
@@ -66,6 +66,11 @@ public:
            ,int             nDesiredWidth = -1
            ,int             nDesiredHeight = -1
           );
+    wxIcon(const wxIconLocation& loc)
+    {
+        LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICO);
+    }
+
     ~wxIcon();
 
     bool LoadFile( const wxString& rName