Use wxWebKitCtrlNameStr to adhere to the convention used by other wx classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,6 +24,8 @@
|
|||||||
// Web Kit Control
|
// Web Kit Control
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
extern WXDLLIMPEXP_DATA_CORE(const char) wxWebKitCtrlNameStr[];
|
||||||
|
|
||||||
class WXDLLIMPEXP_CORE wxWebKitCtrl : public wxControl
|
class WXDLLIMPEXP_CORE wxWebKitCtrl : public wxControl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -36,7 +38,7 @@ public:
|
|||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize, long style = 0,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = wxT("webkitctrl"))
|
const wxString& name = wxWebKitCtrlNameStr)
|
||||||
{
|
{
|
||||||
Create(parent, winID, strURL, pos, size, style, validator, name);
|
Create(parent, winID, strURL, pos, size, style, validator, name);
|
||||||
};
|
};
|
||||||
@@ -46,7 +48,7 @@ public:
|
|||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize, long style = 0,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = wxT("webkitctrl"));
|
const wxString& name = wxWebKitCtrlNameStr);
|
||||||
virtual ~wxWebKitCtrl();
|
virtual ~wxWebKitCtrl();
|
||||||
|
|
||||||
void LoadURL(const wxString &url);
|
void LoadURL(const wxString &url);
|
||||||
|
@@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBKIT_SIZING 0
|
#define DEBUG_WEBKIT_SIZING 0
|
||||||
|
|
||||||
|
extern WXDLLEXPORT_DATA(const char) wxWebKitCtrlNameStr[] = "webkitctrl";
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// macros
|
// macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user