Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
26cf6dfb
Commit
26cf6dfb
authored
Nov 03, 2006
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable wxDnDFromLocale() kludge for Win32 with Unicode wxwidgets
and update comment - refs: #812
parent
a8b80793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/gui/wxwidgets/wxwidgets.hpp
modules/gui/wxwidgets/wxwidgets.hpp
+3
-5
No files found.
modules/gui/wxwidgets/wxwidgets.hpp
View file @
26cf6dfb
...
@@ -95,10 +95,8 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
...
@@ -95,10 +95,8 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
* But heh, that's wxWidgets; you can't really expect it to actually
* But heh, that's wxWidgets; you can't really expect it to actually
* work, let alone work like its documentation says.
* work, let alone work like its documentation says.
*
*
* Did it work, we would be able to catch non-ANSI characters on Windows
* Unicode needs to be enabled to catch non-ANSI characters on Windows
* through wxString::wc_str(); while they are lost when using mb_str().
* through wxString::wc_str(); they are lost when using mb_str().
* This would be particularly useful to open files whose names contain
* non-ACP characters.
*/
*/
#if wxUSE_UNICODE
#if wxUSE_UNICODE
# define wxFromLocale(wxstring) FromWide(wxstring.wc_str())
# define wxFromLocale(wxstring) FromWide(wxstring.wc_str())
...
@@ -109,7 +107,7 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
...
@@ -109,7 +107,7 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
#endif
#endif
/* From Locale functions to use for File Drop targets ... go figure */
/* From Locale functions to use for File Drop targets ... go figure */
#if
def wxUSE_UNICODE
#if
defined wxUSE_UNICODE && !defined(WIN32)
static
inline
char
*
wxDnDFromLocale
(
const
wxChar
*
stupid
)
static
inline
char
*
wxDnDFromLocale
(
const
wxChar
*
stupid
)
{
{
/*
/*
...
...
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