Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
|
|
||||||
WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
|
WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
|
||||||
|
|
||||||
#define wxDEFAULT_BUTTON_MARGIN 4
|
#define wxDEFAULT_BUTTON_MARGIN 4
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "wx/panel.h"
|
#include "wx/panel.h"
|
||||||
|
|
||||||
WXDLLEXPORT_DATA(extern const char*) wxDialogNameStr;
|
WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
|
||||||
|
|
||||||
class WXDLLEXPORT wxDialogModalData;
|
class WXDLLEXPORT wxDialogModalData;
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
|
|||||||
virtual bool Initialize(const wxString& file);
|
virtual bool Initialize(const wxString& file);
|
||||||
|
|
||||||
// If file is "", reloads file given in Initialize
|
// If file is "", reloads file given in Initialize
|
||||||
virtual bool LoadFile(const wxString& file = "");
|
virtual bool LoadFile(const wxString& file = wxEmptyString);
|
||||||
virtual bool DisplayContents();
|
virtual bool DisplayContents();
|
||||||
virtual bool DisplaySection(int sectionNo);
|
virtual bool DisplaySection(int sectionNo);
|
||||||
virtual bool DisplayBlock(long blockNo);
|
virtual bool DisplayBlock(long blockNo);
|
||||||
|
@@ -47,8 +47,8 @@ public:
|
|||||||
//
|
//
|
||||||
wxMenuItem( wxMenu* pParentMenu = NULL
|
wxMenuItem( wxMenu* pParentMenu = NULL
|
||||||
,int nId = wxID_SEPARATOR
|
,int nId = wxID_SEPARATOR
|
||||||
,const wxString& rStrName = ""
|
,const wxString& rStrName = wxEmptyString
|
||||||
,const wxString& rWxHelp = ""
|
,const wxString& rWxHelp = wxEmptyString
|
||||||
,wxItemKind eKind = wxITEM_NORMAL
|
,wxItemKind eKind = wxITEM_NORMAL
|
||||||
,wxMenu* pSubMenu = NULL
|
,wxMenu* pSubMenu = NULL
|
||||||
);
|
);
|
||||||
|
@@ -57,7 +57,7 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject
|
|||||||
inline wxMetafile(const wxMetafile& metafile)
|
inline wxMetafile(const wxMetafile& metafile)
|
||||||
{ Ref(metafile); }
|
{ Ref(metafile); }
|
||||||
|
|
||||||
wxMetafile(const wxString& file = "");
|
wxMetafile(const wxString& file = wxEmptyString);
|
||||||
~wxMetafile(void);
|
~wxMetafile(void);
|
||||||
|
|
||||||
// After this is called, the metafile cannot be used for anything
|
// After this is called, the metafile cannot be used for anything
|
||||||
@@ -91,7 +91,7 @@ class WXDLLEXPORT wxMetafileDC: public wxDC
|
|||||||
public:
|
public:
|
||||||
// Don't supply origin and extent
|
// Don't supply origin and extent
|
||||||
// Supply them to wxMakeMetaFilePlaceable instead.
|
// Supply them to wxMakeMetaFilePlaceable instead.
|
||||||
wxMetafileDC(const wxString& file = "");
|
wxMetafileDC(const wxString& file = wxEmptyString);
|
||||||
|
|
||||||
// Supply origin and extent (recommended).
|
// Supply origin and extent (recommended).
|
||||||
// Then don't need to supply them to wxMakeMetaFilePlaceable.
|
// Then don't need to supply them to wxMakeMetaFilePlaceable.
|
||||||
|
@@ -303,7 +303,7 @@ WXDLLEXPORT wxFont wxCreateFontFromLogFont( LOGFONT* pLogFont
|
|||||||
,PFONTMETRICS pFM
|
,PFONTMETRICS pFM
|
||||||
,PFACENAMEDESC pFace
|
,PFACENAMEDESC pFace
|
||||||
);
|
);
|
||||||
WXDLLEXPORT int wxGpiStrcmp(char* s0, char* s1);
|
WXDLLEXPORT int wxGpiStrcmp(wxChar* s0, wxChar* s1);
|
||||||
|
|
||||||
WXDLLEXPORT void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
|
WXDLLEXPORT void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
|
||||||
WXDLLEXPORT void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
|
WXDLLEXPORT void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
|
||||||
|
@@ -32,7 +32,7 @@ public:
|
|||||||
,const wxPoint& rPos = wxDefaultPosition
|
,const wxPoint& rPos = wxDefaultPosition
|
||||||
,const wxSize& rSize = wxDefaultSize
|
,const wxSize& rSize = wxDefaultSize
|
||||||
,long lStyle = wxSP_VERTICAL
|
,long lStyle = wxSP_VERTICAL
|
||||||
,const wxString& rsName = "wxSpinButton"
|
,const wxString& rsName = wxT("wxSpinButton")
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Create(pParent, vId, rPos, rSize, lStyle, rsName);
|
Create(pParent, vId, rPos, rSize, lStyle, rsName);
|
||||||
@@ -45,7 +45,7 @@ public:
|
|||||||
,const wxPoint& rPos = wxDefaultPosition
|
,const wxPoint& rPos = wxDefaultPosition
|
||||||
,const wxSize& rSize = wxDefaultSize
|
,const wxSize& rSize = wxDefaultSize
|
||||||
,long lStyle = wxSP_VERTICAL
|
,long lStyle = wxSP_VERTICAL
|
||||||
,const wxString& rsName = "wxSpinButton"
|
,const wxString& rsName = wxT("wxSpinButton")
|
||||||
);
|
);
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
|
@@ -34,7 +34,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl
|
|||||||
wxTabCtrl();
|
wxTabCtrl();
|
||||||
|
|
||||||
inline wxTabCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
inline wxTabCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||||
long style = 0, const wxString& name = "tabCtrl")
|
long style = 0, const wxString& name = wxT("tabCtrl"))
|
||||||
{
|
{
|
||||||
Create(parent, id, pos, size, style, name);
|
Create(parent, id, pos, size, style, name);
|
||||||
}
|
}
|
||||||
@@ -93,7 +93,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl
|
|||||||
// Operations
|
// Operations
|
||||||
|
|
||||||
bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||||
long style = 0, const wxString& name = "tabCtrl");
|
long style = 0, const wxString& name = wxT("tabCtrl"));
|
||||||
|
|
||||||
// Delete all items
|
// Delete all items
|
||||||
bool DeleteAllItems();
|
bool DeleteAllItems();
|
||||||
|
@@ -234,7 +234,7 @@ public:
|
|||||||
|
|
||||||
// returns true if the window has been created
|
// returns true if the window has been created
|
||||||
bool OS2Create( PSZ zClass
|
bool OS2Create( PSZ zClass
|
||||||
,const char* zTitle
|
,const wxChar* zTitle
|
||||||
,WXDWORD dwStyle
|
,WXDWORD dwStyle
|
||||||
,const wxPoint& rPos
|
,const wxPoint& rPos
|
||||||
,const wxSize& rSize
|
,const wxSize& rSize
|
||||||
|
Reference in New Issue
Block a user