unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
|||||||
const wxString& title,
|
const wxString& title,
|
||||||
wxSize size = wxDefaultSize,
|
wxSize size = wxDefaultSize,
|
||||||
wxDirection edge = wxLEFT,
|
wxDirection edge = wxLEFT,
|
||||||
const wxString& name = "drawerwindow")
|
const wxString& name = wxT("drawerwindow"))
|
||||||
{
|
{
|
||||||
this->Create(parent, id, title, size, edge, name);
|
this->Create(parent, id, title, size, edge, name);
|
||||||
}
|
}
|
||||||
|
@@ -52,7 +52,7 @@ bool wxDrawerWindow::Create(wxWindow *parent,
|
|||||||
wxWindowID id, const wxString& title,
|
wxWindowID id, const wxString& title,
|
||||||
wxSize size, wxDirection edge, const wxString& name)
|
wxSize size, wxDirection edge, const wxString& name)
|
||||||
{
|
{
|
||||||
wxASSERT_MSG(NULL != parent, "wxDrawerWindows must be attached to a parent window.");
|
wxASSERT_MSG(NULL != parent, wxT("wxDrawerWindows must be attached to a parent window."));
|
||||||
|
|
||||||
// Constrain the drawer size to the parent window.
|
// Constrain the drawer size to the parent window.
|
||||||
const wxSize parentSize(parent->GetClientSize());
|
const wxSize parentSize(parent->GetClientSize());
|
||||||
|
Reference in New Issue
Block a user