Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
cb285c57
Commit
cb285c57
authored
Nov 12, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Safer macros locale conversion macros for WxWidgets.
parent
77603707
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/wxwidgets/wxwidgets.hpp
modules/gui/wxwidgets/wxwidgets.hpp
+2
-2
No files found.
modules/gui/wxwidgets/wxwidgets.hpp
View file @
cb285c57
...
@@ -99,10 +99,10 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
...
@@ -99,10 +99,10 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
* through wxString::wc_str(); they are lost when using mb_str().
* through wxString::wc_str(); they are lost when using mb_str().
*/
*/
#if defined( wxUSE_UNICODE ) && defined( WIN32 )
#if defined( wxUSE_UNICODE ) && defined( WIN32 )
# define wxFromLocale(wxstring) FromWide(
wxstring
.wc_str())
# define wxFromLocale(wxstring) FromWide(
(wxstring)
.wc_str())
# define wxLocaleFree(string) free(string)
# define wxLocaleFree(string) free(string)
#else
#else
# define wxFromLocale(wxstring) FromLocale(
wxstring
.mb_str())
# define wxFromLocale(wxstring) FromLocale(
(wxstring)
.mb_str())
# define wxLocaleFree(string) LocaleFree(string)
# define wxLocaleFree(string) LocaleFree(string)
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment