]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoAlso update the minimal GTK+ version in the introduction manual page.
Vadim Zeitlin [Tue, 3 Jul 2012 20:01:27 +0000 (20:01 +0000)] 
Also update the minimal GTK+ version in the introduction manual page.

And mention GTK+ 3 there too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate the date in the manual before 2.9.4 release.
Vadim Zeitlin [Tue, 3 Jul 2012 19:59:56 +0000 (19:59 +0000)] 
Update the date in the manual before 2.9.4 release.

And mention the need to do it in the tech note for the next time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdated readme and changelog for 2.9.4 release.
Vadim Zeitlin [Tue, 3 Jul 2012 19:58:51 +0000 (19:58 +0000)] 
Updated readme and changelog for 2.9.4 release.

Also add more things to do before the release to the tech note.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoRemove unnecessary checks for OS X 10.4 and gcc 4.0 in configure.
Vadim Zeitlin [Tue, 3 Jul 2012 19:41:58 +0000 (19:41 +0000)] 
Remove unnecessary checks for OS X 10.4 and gcc 4.0 in configure.

As 10.4 is not supported any more, don't check for it. Also don't impose the
use of gcc 4.0 for compiling wxOSX/Carbon as this compiler doesn't exist any
more under OS X 10.7 but wxOSX/Carbon can be compiled using gcc 4.2 if 10.6
SDK is selected, so this change allows to build wxOSX/Carbon under 10.7.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosynchronize GTK2 minimum version in docs
Paul Cornett [Tue, 3 Jul 2012 05:37:02 +0000 (05:37 +0000)] 
synchronize GTK2 minimum version in docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxGTK compilation with MSVC after GTK+ 3 changes.
Vadim Zeitlin [Mon, 2 Jul 2012 22:59:14 +0000 (22:59 +0000)] 
Fix wxGTK compilation with MSVC after GTK+ 3 changes.

Don't use preprocessor conditions inside a macro invocation, MSVC doesn't
support this.

Closes #14448.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadd some mention of GTK3 support
Paul Cornett [Mon, 2 Jul 2012 15:56:47 +0000 (15:56 +0000)] 
add some mention of GTK3 support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoTemporarily disable the failing wxRichTextCtrl case.
Vadim Zeitlin [Mon, 2 Jul 2012 15:08:09 +0000 (15:08 +0000)] 
Temporarily disable the failing wxRichTextCtrl case.

Disable CaretPosition() unit test as it is broken now. This is only temporary
to allow tests to pass in 2.9.4, will be reenabled (and hopefully fixed) later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoClear larger area in wxGCDC::Clear().
Vadim Zeitlin [Mon, 2 Jul 2012 15:05:39 +0000 (15:05 +0000)] 
Clear larger area in wxGCDC::Clear().

Clearing a rectangle of size 32000 was not always enough to clear the entire
DC, so use INT_MAX instead -- this is the best we can do with the current
approach.

Closes #13445.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoKeep client data in sync when deleting items from wxOSX wxComboBox.
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:08 +0000 (15:03 +0000)] 
Keep client data in sync when deleting items from wxOSX wxComboBox.

Correspondence between item indices and their client data was broken if any
items were deleted or the combobox was cleared entirely. Fix this by updating
the client data array whenever this happens.

Closes #14147.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoPreserve client data in wxComboBox::SetString() in wxOSX/Cocoa.
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:04 +0000 (15:03 +0000)] 
Preserve client data in wxComboBox::SetString() in wxOSX/Cocoa.

Don't reset the client data to NULL when we're just changing the item text.

Closes #14146.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoSet string in wxEVT_COMMAND_COMBOBOX_SELECTED event in wxOSX/Cocoa.
Vadim Zeitlin [Mon, 2 Jul 2012 15:03:00 +0000 (15:03 +0000)] 
Set string in wxEVT_COMMAND_COMBOBOX_SELECTED event in wxOSX/Cocoa.

Pass the selected string and not only its index in the event generated when
combobox selection changes in wxOSX/Cocoa.

Closes #14383.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd extra border below the buttons in the generic log dialog.
Vadim Zeitlin [Mon, 2 Jul 2012 15:02:56 +0000 (15:02 +0000)] 
Add extra border below the buttons in the generic log dialog.

This fixes the problem with the dialog appearance in wxOSX/Cocoa where the
bottom of the buttons was truncated otherwise and arguably makes the dialog
look slightly better in the other ports too.

Closes #14398.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxDataViewChoiceRenderer behaviour in wxOSX/Cocoa.
Vadim Zeitlin [Mon, 2 Jul 2012 14:36:56 +0000 (14:36 +0000)] 
Fix wxDataViewChoiceRenderer behaviour in wxOSX/Cocoa.

Changing the value of a "choice" cell in wxDataViewCtrl didn't work correctly
in wxOSX/Cocoa because wxDataViewChoiceRenderer used the base class version of
OSXOnCellChanged() which passed the integer index we received from NSOutlineView
to the model instead of the expected string.

Fix this by overriding OSXOnCellChanged() in wxDataViewChoiceRenderer itself
and using its argument as an integer index of the selection because this is
what it is, at least under OS X 10.7.

Closes #14373.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo changes, just suppress an unused parameter warning in wxOSX build.
Vadim Zeitlin [Mon, 2 Jul 2012 12:46:11 +0000 (12:46 +0000)] 
No changes, just suppress an unused parameter warning in wxOSX build.

This one was especially annoying as it occurred in a header included by a
couple of dozens of files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadapting new osx modifier handling, fixes #14377
Stefan Csomor [Mon, 2 Jul 2012 12:36:18 +0000 (12:36 +0000)] 
adapting new osx modifier handling, fixes #14377

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agohandling illegal fsrefs by returning an empty string, fixes #14384
Stefan Csomor [Mon, 2 Jul 2012 11:54:42 +0000 (11:54 +0000)] 
handling illegal fsrefs by returning an empty string, fixes #14384

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoguarding against invalid files passed to 'pdoc' apple event, see #14384
Stefan Csomor [Mon, 2 Jul 2012 11:50:54 +0000 (11:50 +0000)] 
guarding against invalid files passed to 'pdoc' apple event, see #14384

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoguarding against invalid files passed to 'odoc' apple event, see #14384
Stefan Csomor [Mon, 2 Jul 2012 11:47:29 +0000 (11:47 +0000)] 
guarding against invalid files passed to 'odoc' apple event, see #14384

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAllow using wxGridCellEnumEditor with the mouse.
Vadim Zeitlin [Mon, 2 Jul 2012 10:28:03 +0000 (10:28 +0000)] 
Allow using wxGridCellEnumEditor with the mouse.

Previously the combobox was immediately dismissed when the mouse was used.

Fix this by copying the code from wxGridCellChoiceEditor to this class. This
is obviously not ideal and both classes should be refactored to avoid this in
the future but for now this at least fixes the user-visible problem.

Closes #13943.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd COMPILER_VERSION to nmake command line
Robin Dunn [Mon, 2 Jul 2012 02:58:58 +0000 (02:58 +0000)] 
Add COMPILER_VERSION to nmake command line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoShow gstreamer errors in wxGStreamerMediaBackend to the user.
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:18 +0000 (00:16 +0000)] 
Show gstreamer errors in wxGStreamerMediaBackend to the user.

If the media file fails to play, we really need to show to the user the
corresponding gstreamer error, otherwise there is no way to understand what
the problem is.

Collect the errors in gst_error_callback() and show them from the main thread
if we get a gstreamer error.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wxFileSystem::FileNameToURL() in wxGStreamerMediaBackend.
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:14 +0000 (00:16 +0000)] 
Use wxFileSystem::FileNameToURL() in wxGStreamerMediaBackend.

Converting files to URIs is not as simple as just prepending "file://" to
them, notably we need to escape characters that are special in URIs such as
"#" and "%", so use FileNameToURL() which already does do it correctly.

Closes #13663.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix command line parsing in media player sample.
Vadim Zeitlin [Mon, 2 Jul 2012 00:16:12 +0000 (00:16 +0000)] 
Fix command line parsing in media player sample.

It was broken since the addition of the call to wxApp::OnInit() to
wxMediaPlayerApp::OnInit() -- as the base class parses the command line
itself, we need to use OnInitCmdLine() and OnCmdLineParsed() instead of doing
it manually if we call it.

Also don't load the play list saved in wxConfig if any command line parameters
were given as otherwise the saved files would be used first (this seems to
have been always broken...).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix wxMSW compilation without PCH.
Vadim Zeitlin [Sun, 1 Jul 2012 22:39:41 +0000 (22:39 +0000)] 
Fix wxMSW compilation without PCH.

Include wx/bitmap.h as we need its GetHBITMAP() method in wx/msw/dib.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse COMPILER_VERSION and ARCH_SUFFIX in libraries names in Windows makefiles.
Vadim Zeitlin [Sun, 1 Jul 2012 21:35:23 +0000 (21:35 +0000)] 
Use COMPILER_VERSION and ARCH_SUFFIX in libraries names in Windows makefiles.

For the official builds (only), include the compiler version and the
architecture suffix, unless it's the default x86, into the DLL names, to allow
their concurrent installations for multiple compiler versions and architectures.

Closes #13857.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo real changes, just rename DIR_SUFFIX_CPU to ARCH_SUFFIX in bakefiles.
Vadim Zeitlin [Sun, 1 Jul 2012 21:35:18 +0000 (21:35 +0000)] 
No real changes, just rename DIR_SUFFIX_CPU to ARCH_SUFFIX in bakefiles.

This will be soon used in the libraries names and not only in the directory
paths so rename the variable to make things more clear (or at least less
confusing).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoForward WM_{CUT,COPY,PASTE} from edit control to wxComboBox in wxMSW too.
Vadim Zeitlin [Sun, 1 Jul 2012 21:10:08 +0000 (21:10 +0000)] 
Forward WM_{CUT,COPY,PASTE} from edit control to wxComboBox in wxMSW too.

This allows us to receive wxClipboardTextEvents from wxComboBox as well.

Update the documentation to mention this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoremove some unused files from GTK3 build
Paul Cornett [Sun, 1 Jul 2012 19:10:38 +0000 (19:10 +0000)] 
remove some unused files from GTK3 build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoeliminate possibility of configure enabling gnomeprint with GTK3
Paul Cornett [Sun, 1 Jul 2012 17:44:44 +0000 (17:44 +0000)] 
eliminate possibility of configure enabling gnomeprint with GTK3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agousing common code
Stefan Csomor [Sun, 1 Jul 2012 17:13:46 +0000 (17:13 +0000)] 
using common code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agocommon code for normalization
Stefan Csomor [Sun, 1 Jul 2012 17:03:39 +0000 (17:03 +0000)] 
common code for normalization

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agooverride DoSetValue() to avoid unnecessary clipboard operations, fixes #14369
Paul Cornett [Sun, 1 Jul 2012 16:43:16 +0000 (16:43 +0000)] 
override DoSetValue() to avoid unnecessary clipboard operations, fixes #14369

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agonative drop target method for cocoa
Stefan Csomor [Sun, 1 Jul 2012 15:46:56 +0000 (15:46 +0000)] 
native drop target method for cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agonative hook for supported datatypes
Stefan Csomor [Sun, 1 Jul 2012 15:46:26 +0000 (15:46 +0000)] 
native hook for supported datatypes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadding native hook for drop target
Stefan Csomor [Sun, 1 Jul 2012 15:45:15 +0000 (15:45 +0000)] 
adding native hook for drop target

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agomake sure the pasteboard paste location is only set once
Stefan Csomor [Sun, 1 Jul 2012 13:20:33 +0000 (13:20 +0000)] 
make sure the pasteboard paste location is only set once

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement wxDisplay::GetFromWindow() for wxGTK/Windows.
Vadim Zeitlin [Sun, 1 Jul 2012 11:35:52 +0000 (11:35 +0000)] 
Implement wxDisplay::GetFromWindow() for wxGTK/Windows.

As wxWindow doesn't have an associated HWND when using wxGTK, use
MonitorFromPoint() instead of MonitorFromWindow() for this port.

Closes #14408.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix the use of AutoHBITMAP in recently added LoadImageFromResource().
Vadim Zeitlin [Sun, 1 Jul 2012 11:35:49 +0000 (11:35 +0000)] 
Fix the use of AutoHBITMAP in recently added LoadImageFromResource().

Assignment operator of AutoHBITMAP doesn't work as expected (and probably
should be removed/fixed), avoid its use by explicitly calling Init().

Closes #14425.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo changes, just suppress an unused variable warning.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:33 +0000 (23:41 +0000)] 
No changes, just suppress an unused variable warning.

Omit the name of the exception object that we never use.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoVC6 compilation fix for the grid sample.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:30 +0000 (23:41 +0000)] 
VC6 compilation fix for the grid sample.

Use Connect() instead of Bind() which is not available for VC6.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMake wxBookCtrlBase::GetPage() virtual to fix it for wxAuiNotebook.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:27 +0000 (23:41 +0000)] 
Make wxBookCtrlBase::GetPage() virtual to fix it for wxAuiNotebook.

wxAuiNotebook doesn't store its page in the base class m_pages array, so
calling GetPage() on it via a wxBookCtrl pointer resulted in a crash.

Make GetPage() virtual to allow overriding it at wxAuiNotebook level.

Closes #13768.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd skeleton documentation for wxAuiNotebook-related classes.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:23 +0000 (23:41 +0000)] 
Add skeleton documentation for wxAuiNotebook-related classes.

Closes #14386.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoImplement hatched/stippled pens/brushes in wxGraphicsContext for Cairo.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:18 +0000 (23:41 +0000)] 
Implement hatched/stippled pens/brushes in wxGraphicsContext for Cairo.

Refactor the pen/brushes classes to introduce a common base class for them
containing their colour and hatch pattern and stipple bitmap, if any.

And actually create the hatched pattern and use it.

Closes #11981.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdded internal wxHatchStyle enum.
Vadim Zeitlin [Sat, 30 Jun 2012 23:41:15 +0000 (23:41 +0000)] 
Added internal wxHatchStyle enum.

It's annoying that the same code for hatched pens and brushes can't be reused
without relying on deprecated wxXXX_HATCH constants, so add new,
non-deprecated, wxHatchStyle enum that can be used in such code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoOnly disable generation of dependencies if more than one architecture is being built.
Robin Dunn [Sat, 30 Jun 2012 20:59:51 +0000 (20:59 +0000)] 
Only disable generation of dependencies if more than one architecture is being built.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMove a couple standard virtuals to protected sections so they can be overridden in...
Robin Dunn [Sat, 30 Jun 2012 20:59:46 +0000 (20:59 +0000)] 
Move a couple standard virtuals to protected sections so they can be overridden in derived classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface fix for Phoenix
Robin Dunn [Sat, 30 Jun 2012 20:59:39 +0000 (20:59 +0000)] 
Interface fix for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosupport for GTK3
Paul Cornett [Sat, 30 Jun 2012 20:39:06 +0000 (20:39 +0000)] 
support for GTK3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoForce wide char environment version initialization in wxGetEnvMap().
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:40 +0000 (16:33 +0000)] 
Force wide char environment version initialization in wxGetEnvMap().

When using MSVC CRT, the wide character version of the environment is not
always initialized when using main() (and not _wmain()) as entry point, so
force initializing it before using _tenviron.

Closes #14231.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd a unit test verifying that wxSpinCtrl ctor doesn't generate any events.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:36 +0000 (16:33 +0000)] 
Add a unit test verifying that wxSpinCtrl ctor doesn't generate any events.

This shouldn't happen but did (and apparently still does, sometimes) under MSW
so add a test verifying that no events are generated by the ctor.

See #14428.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wxString::t_str(), not fn_str(), with Windows API functions.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:32 +0000 (16:33 +0000)] 
Use wxString::t_str(), not fn_str(), with Windows API functions.

fn_str() is supposed to be used with the CRT functions taking file names only,
not Windows API functions that always take LPCTSTR with all compilers/CRT
versions.

Closes #14433.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDefine wxEntry() with WinMain-compatible signature for all Windows ports.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:28 +0000 (16:33 +0000)] 
Define wxEntry() with WinMain-compatible signature for all Windows ports.

Make wxEntry(HINSTANCE, ...) available in wxGTK under Windows too.

Refactor the headers to allow this and extract Windows-specific wxEntry()
declarations in wx/msw/init.h from wx/msw/app.h for consistency with the
normal wxEntry(int, char**) declared in wx/init.h.

Closes #14423.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse bitmaps from resources by default in wxGTK under Windows.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:23 +0000 (16:33 +0000)] 
Use bitmaps from resources by default in wxGTK under Windows.

Use wxBITMAP_TYPE_{BMP,CUR,ICON}_RESOURCE by default under Windows, even for
non-wxMSW ports.

Also allow loading wxImage from resources in all ports under MSW as a side
effect of this change.

Closes #14425.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxRibbonBar::DeletePage() and ClearPages() methods.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:18 +0000 (16:33 +0000)] 
Add wxRibbonBar::DeletePage() and ClearPages() methods.

Also add a trivial GetPageCount() helper.

Closes #14437.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUpdate debugging macros overview in the docs.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:14 +0000 (16:33 +0000)] 
Update debugging macros overview in the docs.

Describe how the debugging macros really work since 2.9.1, i.e. explain
wxDEBUG_LEVEL and NDEBUG instead of __WXDEBUG__.

Closes #14435.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCreate wxStaticBoxSizer elements as children of wxStaticBox in XRC.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:10 +0000 (16:33 +0000)] 
Create wxStaticBoxSizer elements as children of wxStaticBox in XRC.

As we now recommend creating the controls shown inside wxStaticBox as its
children, and not siblings, follow our own recommendation by doing just this
in XRC handler of wxStaticBoxSizer.

Also add a test of using a tooltip with a wxStaticBoxSizer element to the XRC
demo showing that tooltips do work now for them, unlike before.

Closes #14431.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't hard code horizontal border for wxStaticBox in wxGTK.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:07 +0000 (16:33 +0000)] 
Don't hard code horizontal border for wxStaticBox in wxGTK.

Compute the border width from the average character width instead of hard
coding it to 5 pixels. Probably doesn't make much difference in practice, but
seems to make more sense.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix vertical offset for wxGTK wxStaticBox without label.
Vadim Zeitlin [Sat, 30 Jun 2012 16:33:04 +0000 (16:33 +0000)] 
Fix vertical offset for wxGTK wxStaticBox without label.

Don't use different size for the vertical border in wxStaticBox just because
it doesn't have any label, this just doesn't seem necessary and results in
different appearance for the static box with and without label.

Closes #14430.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix generation of wxEVT_CHAR in wxMSW wxComboBox.
Vadim Zeitlin [Fri, 29 Jun 2012 23:55:54 +0000 (23:55 +0000)] 
Fix generation of wxEVT_CHAR in wxMSW wxComboBox.

wxEVT_CHAR shouldn't be generated at all if wxEVT_KEY_DOWN was handled but it
still was for wxComboBox because the code in its MSW implementation directly
called HandleKeyDown() and HandleChar() methods, bypassing the logic dealing
with m_lastKeyDownProcessed at wxWindow level.

Fix this by calling MSWHandleMessage() instead to ensure that WM_CHAR after a
handled WM_KEYDOWN are ignored as they ought to.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxUSE_COMPILER_TLS to OpenVMS setup file
Jouk Jansen [Fri, 29 Jun 2012 06:44:00 +0000 (06:44 +0000)] 
Add wxUSE_COMPILER_TLS to OpenVMS setup file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agounconditionally include coretext-replacement function when having a deployment target...
Stefan Csomor [Thu, 28 Jun 2012 12:11:50 +0000 (12:11 +0000)] 
unconditionally include coretext-replacement function when having a deployment target of 10.5

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix off by 1 error in wxHTML font size from points calculation.
Vadim Zeitlin [Thu, 28 Jun 2012 11:58:55 +0000 (11:58 +0000)] 
Fix off by 1 error in wxHTML font size from points calculation.

m_FontSize is in 1..7 range, not 0..6, so add 1 to it when setting it from the
index into m_FontsSizes array.

Also update the comment explaining the valid range of m_FontsSize.

Closes #14442.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface fix for Phoenix
Robin Dunn [Thu, 28 Jun 2012 06:55:54 +0000 (06:55 +0000)] 
Interface fix for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't hide the m_mm_to_pix_x and m_mm_to_pix_y in the base class by redefining them...
Robin Dunn [Tue, 26 Jun 2012 18:25:29 +0000 (18:25 +0000)] 
Don't hide the m_mm_to_pix_x and m_mm_to_pix_y in the base class by redefining them in a derived class.  Fixes #14399.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd missing parent classes
Robin Dunn [Tue, 26 Jun 2012 02:01:09 +0000 (02:01 +0000)] 
Add missing parent classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoadding new API needed for screenshots as old method stopped working in 10.7
Stefan Csomor [Mon, 25 Jun 2012 15:23:50 +0000 (15:23 +0000)] 
adding new API needed for screenshots as old method stopped working in 10.7

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix for page break problem: fixes #14429
Julian Smart [Mon, 25 Jun 2012 08:02:32 +0000 (08:02 +0000)] 
Fix for page break problem: fixes #14429

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoupdate size hints when decoration size becomes known, and preserve size hint increments
Paul Cornett [Sun, 24 Jun 2012 16:18:28 +0000 (16:18 +0000)] 
update size hints when decoration size becomes known, and preserve size hint increments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoimplement wxCairoContext::GetPartialTextExtents for wxGTK
Paul Cornett [Sun, 24 Jun 2012 06:33:07 +0000 (06:33 +0000)] 
implement wxCairoContext::GetPartialTextExtents for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoClarify wxFileOffset description a bit.
Vadim Zeitlin [Sat, 23 Jun 2012 12:27:14 +0000 (12:27 +0000)] 
Clarify wxFileOffset description a bit.

It wasn't clear how wxFileOffset was defined under Windows without
wxHAS_HUGE_FILES.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoproperly handle stupidly small maximum size hints
Paul Cornett [Sat, 23 Jun 2012 03:33:08 +0000 (03:33 +0000)] 
properly handle stupidly small maximum size hints

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd simple document for wxGUIEventLoop
Robin Dunn [Sat, 23 Jun 2012 00:44:14 +0000 (00:44 +0000)] 
Add simple document for wxGUIEventLoop

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agofix SetSizeHints when wxDefaultSize is given for min or max size
Paul Cornett [Fri, 22 Jun 2012 06:41:56 +0000 (06:41 +0000)] 
fix SetSizeHints when wxDefaultSize is given for min or max size

GTK does unexpected things if both min and max size are not explicitly set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed #14429: Printing a large table in wxRichTextCtrl fails
Julian Smart [Thu, 21 Jun 2012 20:12:44 +0000 (20:12 +0000)] 
Fixed #14429: Printing a large table in wxRichTextCtrl fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoPrevent index access error
Julian Smart [Thu, 21 Jun 2012 19:12:04 +0000 (19:12 +0000)] 
Prevent index access error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoCompilation fix
Julian Smart [Thu, 21 Jun 2012 18:39:34 +0000 (18:39 +0000)] 
Compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't call gtk_window_set_geometry_hints() if there are no hints to set.
Vadim Zeitlin [Thu, 21 Jun 2012 13:19:30 +0000 (13:19 +0000)] 
Don't call gtk_window_set_geometry_hints() if there are no hints to set.

Calling gtk_window_set_geometry_hints() with the hints mask of 0 doesn't work
correctly and sets the window size to the smallest possible. Avoid this by
simply not calling this function at all if there is nothing to do.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd MSVS autoexp.dat fragment for some common wxWidgets types.
Vadim Zeitlin [Wed, 20 Jun 2012 18:24:22 +0000 (18:24 +0000)] 
Add MSVS autoexp.dat fragment for some common wxWidgets types.

As we have gdb pretty printers under the version control, it makes sense to
also put MSVS visualizers there as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse wx/msw/winundef.h for wxGTK under Windows too.
Vadim Zeitlin [Wed, 20 Jun 2012 17:54:53 +0000 (17:54 +0000)] 
Use wx/msw/winundef.h for wxGTK under Windows too.

Avoid clashes due to <windows.h> definitions in wxGTK too.

Closes #14427.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoNo real changes, just simplify wxGDIPlusContext::GetTextExtent() a bit.
Vadim Zeitlin [Wed, 20 Jun 2012 17:54:49 +0000 (17:54 +0000)] 
No real changes, just simplify wxGDIPlusContext::GetTextExtent() a bit.

Don't call Font::GetSize() and FontFamily::GetEmHeight() thrice, just do it
once and store the results. This makes the code both simpler and shorter and
marginally more efficient.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFix text extent computation in wxMSW wxGraphicsContext.
Vadim Zeitlin [Wed, 20 Jun 2012 17:54:46 +0000 (17:54 +0000)] 
Fix text extent computation in wxMSW wxGraphicsContext.

The results were incorrect for italic or bold fonts as we hardcoded
FontStyleRegular instead of using the real font style.

Closes #14421.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd missing c_str() and similar calls to samples in STL build.
Vadim Zeitlin [Wed, 20 Jun 2012 17:54:42 +0000 (17:54 +0000)] 
Add missing c_str() and similar calls to samples in STL build.

Don't rely on implicit conversion of wxString to char*/wxChar*, it doesn't
exist in STL build. Add explicit c_str(), wc_str() or t_str() calls.

Closes #14420.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoUse C, not C++, comments in wx/gtk/chkconf.h.
Vadim Zeitlin [Wed, 20 Jun 2012 17:54:38 +0000 (17:54 +0000)] 
Use C, not C++, comments in wx/gtk/chkconf.h.

Remove C++ comments added in r71796.

See #14412.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface tweaks for Phoenix
Robin Dunn [Wed, 20 Jun 2012 17:10:23 +0000 (17:10 +0000)] 
Interface tweaks for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agomake sure native font exists, before asking about fixed width
Stefan Csomor [Wed, 20 Jun 2012 10:34:30 +0000 (10:34 +0000)] 
make sure native font exists, before asking about fixed width

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agousing UTType constants wherever possible to avoid typos, checking for failed conversi...
Stefan Csomor [Wed, 20 Jun 2012 07:16:03 +0000 (07:16 +0000)] 
using UTType constants wherever possible to avoid typos, checking for failed conversions, leveraging native conversion of types, fixes #13442

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosupporting promised file urls for transfer, see #14281
Stefan Csomor [Mon, 18 Jun 2012 20:27:35 +0000 (20:27 +0000)] 
supporting promised file urls for transfer, see #14281

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixed #14417: wxRichTextCtrl crashes on LoadFile
Julian Smart [Mon, 18 Jun 2012 18:45:30 +0000 (18:45 +0000)] 
Fixed #14417: wxRichTextCtrl crashes on LoadFile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agobuild fix for wxUSE_STL==1
Paul Cornett [Mon, 18 Jun 2012 16:11:36 +0000 (16:11 +0000)] 
build fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agosupporting promised file urls for transfer, see #14281
Stefan Csomor [Mon, 18 Jun 2012 15:13:53 +0000 (15:13 +0000)] 
supporting promised file urls for transfer, see #14281

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoInterface fixes for Phoenix
Robin Dunn [Mon, 18 Jun 2012 02:14:07 +0000 (02:14 +0000)] 
Interface fixes for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoFixes for building wxGTK under Cygwin.
Vadim Zeitlin [Sun, 17 Jun 2012 21:35:14 +0000 (21:35 +0000)] 
Fixes for building wxGTK under Cygwin.

Test for __WXMSW__ instead of __CYGWIN__ to not affect building non-MSW ports
such as wxGTK under Cygwin.

See #14382.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable creation of wxDIB from wxBitmap in non-wxMSW ports.
Vadim Zeitlin [Sun, 17 Jun 2012 21:35:10 +0000 (21:35 +0000)] 
Disable creation of wxDIB from wxBitmap in non-wxMSW ports.

wxDIB can now be used with wxGTK under Windows, i.e. when not using wxMSW
version of wxBitmap but it can't be created from wxBitmap then as it doesn't
have a corresponding HBITMAP.

Simply disable this functionality when not using wxMSW.

Closes #14414.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoMove wxBell() from base to core library.
Vadim Zeitlin [Sun, 17 Jun 2012 21:35:06 +0000 (21:35 +0000)] 
Move wxBell() from base to core library.

This allows to get rid of ugly preprocessor checks due to the fact that this
function could be defined in one or the other library depending on the port
used and also fix a problem with it being defined differently in the base
library depending on which GUI port (Carbon or Cocoa) was used under OS X.
It also fixes the problem with wxBell() in wxGTK under Windows.

Closes #14406.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDisable options that don't work with wxGTK in wx/chkconf.h.
Vadim Zeitlin [Sun, 17 Jun 2012 21:35:01 +0000 (21:35 +0000)] 
Disable options that don't work with wxGTK in wx/chkconf.h.

When building wxGTK under Windows, some MSW-specific options can be defined
but can't be implemented when using GTK, forcefully disable them.

Also a few others that could be implemented but that don't work currently.

Finally, forcefully enable Cairo support as wxGTK always needs it.

Closes #14412.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDefine wxGTK GTK version symbols in GTK-specific setup.h.
Vadim Zeitlin [Sun, 17 Jun 2012 21:34:57 +0000 (21:34 +0000)] 
Define wxGTK GTK version symbols in GTK-specific setup.h.

When not using configure __WXGTKxxx__ symbols should still be defined, assume
we use a recent GTK 2.x version and define all of them.

Closes #14411.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoDon't use Unix-specific wxGTK utility functions under non-Unix.
Vadim Zeitlin [Sun, 17 Jun 2012 21:34:54 +0000 (21:34 +0000)] 
Don't use Unix-specific wxGTK utility functions under non-Unix.

Unix-specific functions shouldn't be used under Windows, add "#ifdef __UNIX__"
guards around them.

Closes #14410.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoProvide wxGetKeyState() studfor wxGTK under Windows.
Vadim Zeitlin [Sun, 17 Jun 2012 21:34:50 +0000 (21:34 +0000)] 
Provide wxGetKeyState() studfor wxGTK under Windows.

Under Unix this function is implemented in X11-specific code, so provide a
stub under Windows to at least avoid link errors.

Closes #14409.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 years agoAdd wxUSE_COMPILER_TLS to allow disabling compiler TLS support.
Vadim Zeitlin [Sun, 17 Jun 2012 21:34:47 +0000 (21:34 +0000)] 
Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support.

Compiler TLS support is broken under Win32/MSVC when used for a code which is
part of a dynamically loaded DLL, so allow disabling it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775