]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxWebKitCtrlNameStr to adhere to the convention used by other wx classes.
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 11 Nov 2009 02:12:56 +0000 (02:12 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 11 Nov 2009 02:12:56 +0000 (02:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/webkit.h
src/html/htmlctrl/webkit/webkit.mm

index 544c9d57a39518869aa5fb841994873d0e247c32..3511f7fd9209268908cffae04a04f6b253a964ab 100644 (file)
@@ -24,6 +24,8 @@
 // Web Kit Control
 // ----------------------------------------------------------------------------
 
+extern WXDLLIMPEXP_DATA_CORE(const char) wxWebKitCtrlNameStr[];
+
 class WXDLLIMPEXP_CORE wxWebKitCtrl : public wxControl
 {
 public:
@@ -36,7 +38,7 @@ public:
                     const wxPoint& pos = wxDefaultPosition,
                     const wxSize& size = wxDefaultSize, long style = 0,
                     const wxValidator& validator = wxDefaultValidator,
-                    const wxString& name = wxT("webkitctrl"))
+                    const wxString& name = wxWebKitCtrlNameStr)
     {
         Create(parent, winID, strURL, pos, size, style, validator, name);
     };
@@ -46,7 +48,7 @@ public:
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize, long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = wxT("webkitctrl"));
+                const wxString& name = wxWebKitCtrlNameStr);
     virtual ~wxWebKitCtrl();
 
     void LoadURL(const wxString &url);
index b577a122e525e55c531f49f57277292d2f47375b..59192ca436e7a63886eeccee6b15374b7bee9842 100644 (file)
@@ -37,6 +37,8 @@
 
 #define DEBUG_WEBKIT_SIZING 0
 
+extern WXDLLEXPORT_DATA(const char) wxWebKitCtrlNameStr[] = "webkitctrl";
+
 // ----------------------------------------------------------------------------
 // macros
 // ----------------------------------------------------------------------------