]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
13 years agoRemove unnecessary use of RemoveMarkup() in wxMSW wxHyperlinkCtrl.
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:11 +0000 (12:47 +0000)] 
Remove unnecessary use of RemoveMarkup() in wxMSW wxHyperlinkCtrl.

Only the ampersands need to be escaped when setting the text of a native hyper
link control in MSW and this is done by wxControl::EscapeMnemonics(), not by
wxStaticText::RemoveMarkup() which also removes any tags which is not wanted
at all here.

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

13 years agoAdd wxFont::SetSymbolicSize() and SetSymbolicSizeRelativeTo().
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:05 +0000 (12:47 +0000)] 
Add wxFont::SetSymbolicSize() and SetSymbolicSizeRelativeTo().

These methods allow to set the font size using CSS-like absolute size
specifications.

Notice that the factors used here are incompatible with (but better than) the
ones used in wxBuildFontSizes() in src/html/winpars.cpp. In the future it
would be nice to reuse the new wxFont functions in wxHTML code.

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

13 years agoAdd wxFont::Underlined() and MakeUnderlined() methods.
Vadim Zeitlin [Sun, 27 Feb 2011 12:46:59 +0000 (12:46 +0000)] 
Add wxFont::Underlined() and MakeUnderlined() methods.

Add two more helpers for consistency with the existing methods such as Bold()
and MakeBold().

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

13 years agoUse wxMarkupParser in wxStaticText for dealing with markup.
Vadim Zeitlin [Sun, 27 Feb 2011 12:46:55 +0000 (12:46 +0000)] 
Use wxMarkupParser in wxStaticText for dealing with markup.

No real changes, just remove markup parsing code from wxStaticText
implementation and reuse wxMarkupParser methods there instead.

This makes include/wx/private/stattext.h file unnecessary as it is used only
in a single place now so remove it and move its remaining contents to
src/gtk/mnemonics.cpp.

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

13 years agoAdd wxMarkupParser::Strip().
Vadim Zeitlin [Sun, 27 Feb 2011 12:46:48 +0000 (12:46 +0000)] 
Add wxMarkupParser::Strip().

This helper function strips all markup tags from the string (and also decodes
the XML entities in it).

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

13 years agoAdd a class for parsing simple markup.
Vadim Zeitlin [Sun, 27 Feb 2011 12:46:42 +0000 (12:46 +0000)] 
Add a class for parsing simple markup.

This code is not used anywhere yet, this commit only adds the parser for the
markup and the related classes as well as the corresponding unit test.

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

13 years agoAdd a simple wxStack<> template class based on wxVector<>.
Vadim Zeitlin [Sun, 27 Feb 2011 12:46:34 +0000 (12:46 +0000)] 
Add a simple wxStack<> template class based on wxVector<>.

This is still simpler than std::stack<> which can be used with any container
and not just wxVector<> but better than the WX_DECLARE_STACK() macro which was
all that we had before.

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

13 years agoDisable NumValidatorTestCase::Interactive() for build bot slaves.
Vadim Zeitlin [Sun, 27 Feb 2011 12:45:30 +0000 (12:45 +0000)] 
Disable NumValidatorTestCase::Interactive() for build bot slaves.

This test consistently fails on the MSW build slave machines (see e.g.
http://buildbot.tt-solutions.com/wx/builders/XPSP2 VC9 wxMSW trunk release/builds/2084/steps/test/logs/stdio)
for unknown reason so disable it for them. Notice that it does pass when ran
locally so it looks like another instance of a problem with wxUIActionSimulator
on these machines rather than the problem with the class itself.

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

13 years agoOnly use wxBU_EXACTFIT for width calculations in wxMSW wxButton.
Vadim Zeitlin [Sun, 27 Feb 2011 12:45:24 +0000 (12:45 +0000)] 
Only use wxBU_EXACTFIT for width calculations in wxMSW wxButton.

wxBU_EXACTFIT should affect the width of the button best size but not its
height which should be at least the same as the height of a standard button
even when wxBU_EXACTFIT is specified, otherwise buttons created with it (like
the one in generic wxCollapsiblePane implementation) look completely ugly.

This commit restores the old behaviour which was recently changed by wxButton
sizing code simplifications.

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

13 years agoSpecify correct size for disabled image list in wxMSW wxToolBar.
Vadim Zeitlin [Sun, 27 Feb 2011 12:45:19 +0000 (12:45 +0000)] 
Specify correct size for disabled image list in wxMSW wxToolBar.

Use the real bitmap size instead of the default tool size when creating the
disabled image list as the actual bitmap size could be less than the default
one and in this case adding images to the image list later would fail (as
could be seen by using custom bitmaps in the toolbar sample).

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

13 years agoInclude image.h and check for wxUSE_IMAGE
Jaakko Salli [Sun, 27 Feb 2011 08:51:01 +0000 (08:51 +0000)] 
Include image.h and check for wxUSE_IMAGE

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

13 years agoApplied #12985: Improved installation instructions for wxWidgets for Mac OS X Cocoa...
Julian Smart [Sun, 27 Feb 2011 08:13:56 +0000 (08:13 +0000)] 
Applied #12985: Improved installation instructions for wxWidgets for Mac OS X Cocoa and Carbon

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

13 years agoFix libraries order in screenshotgen bakefile.
Vadim Zeitlin [Sat, 26 Feb 2011 17:51:34 +0000 (17:51 +0000)] 
Fix libraries order in screenshotgen bakefile.

The richtext library must come before the adv one as it depends on the classes
in the latter and with the old libraries order linking failed in static build.

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

13 years agoMention wxZlib classes in archives overview.
Vadim Zeitlin [Sat, 26 Feb 2011 17:46:57 +0000 (17:46 +0000)] 
Mention wxZlib classes in archives overview.

Closes #12974.

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

13 years agoDon't use wxTE_PROCESS_ENTER in wxSpinCtrlGeneric.
Vadim Zeitlin [Sat, 26 Feb 2011 17:46:54 +0000 (17:46 +0000)] 
Don't use wxTE_PROCESS_ENTER in wxSpinCtrlGeneric.

We don't need to catch Enter presses to generate spin control events as we do
it anyhow when we lose focus. So simply remove the Enter handling code
entirely (it could be used to generate wxEVT_COMMAND_TEXT_ENTER events but we
don't generate them nor wxEVT_COMMAND_TEXT_UPDATED at all currently in the
generic version).

Closes #12980.

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

13 years agoDon't use wxTE_NOHIDESEL in wxSpinCtrlGeneric.
Vadim Zeitlin [Sat, 26 Feb 2011 17:46:51 +0000 (17:46 +0000)] 
Don't use wxTE_NOHIDESEL in wxSpinCtrlGeneric.

There is no reason to use this flag for the spin control and doing it makes it
gratuitously different from the native one under wxMSW.

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

13 years agofixing support for true children of wxStaticBox with wxStaticBoxSizer under osx_cocoa
Stefan Csomor [Sat, 26 Feb 2011 15:44:14 +0000 (15:44 +0000)] 
fixing support for true children of wxStaticBox with wxStaticBoxSizer under osx_cocoa

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

13 years agomaking GetPosition 1:1 symmetrical to Move (respecting contentViews), fixing borderDr...
Stefan Csomor [Sat, 26 Feb 2011 11:04:43 +0000 (11:04 +0000)] 
making GetPosition 1:1 symmetrical to Move (respecting contentViews), fixing borderDrawing within NSBox

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

13 years agoFix for #11647: text from WriteText not scrolled to be visible in wxRichTextCtrl
Julian Smart [Fri, 25 Feb 2011 17:28:27 +0000 (17:28 +0000)] 
Fix for #11647: text from WriteText not scrolled to be visible in wxRichTextCtrl
IsPositionVisible was incorrect.

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

13 years agoIn wxPGProperty::SetValueImage(), use wxImage::Rescale() for scaling down the bitmap...
Jaakko Salli [Fri, 25 Feb 2011 13:00:57 +0000 (13:00 +0000)] 
In wxPGProperty::SetValueImage(), use wxImage::Rescale() for scaling down the bitmap instead of wx(Memory)DC functions. Results should look much nicer and also retains alpha channel with much less effert.

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

13 years agoApplied patch in #12279: in wxRichTextCtrl, when wxRE_READONLY is set, the undo,...
Julian Smart [Fri, 25 Feb 2011 12:25:12 +0000 (12:25 +0000)] 
Applied patch in #12279: in wxRichTextCtrl, when wxRE_READONLY is set, the undo, redo function should be disabled

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

13 years agoApplied #12601: Background color when saving wxRichText to HTML file
Julian Smart [Fri, 25 Feb 2011 12:21:56 +0000 (12:21 +0000)] 
Applied #12601: Background color when saving wxRichText to HTML file

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

13 years agoApplied #12941: Fixes and enhancements for wxRTC (Robert Hoffman)
Julian Smart [Fri, 25 Feb 2011 11:37:20 +0000 (11:37 +0000)] 
Applied #12941: Fixes and enhancements for wxRTC (Robert Hoffman)

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

13 years agoAdded wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to fix tree and list control selection rendering.
Julian Smart [Fri, 25 Feb 2011 09:38:35 +0000 (09:38 +0000)] 
Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to fix tree and list control selection rendering.

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

13 years agoHandle ANSI release configuration correctly in msvc/wx/setup.h.
Vadim Zeitlin [Thu, 24 Feb 2011 20:34:48 +0000 (20:34 +0000)] 
Handle ANSI release configuration correctly in msvc/wx/setup.h.

Preprocessor operations don't work with empty values so check for the case of
empty suffix specially.

This avoid warnings about "not enough actual parameters for macro
'wxSTRINGIZE_HELPER'" from MSVC.

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

13 years agoNo changes, just fix a typo in the changelog.
Vadim Zeitlin [Thu, 24 Feb 2011 20:34:45 +0000 (20:34 +0000)] 
No changes, just fix a typo in the changelog.

s/futher/further/

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

13 years agoreverting part of r58797, otherwise wxClientDC get no graphics context at all
Stefan Csomor [Thu, 24 Feb 2011 14:56:40 +0000 (14:56 +0000)] 
reverting part of r58797, otherwise wxClientDC get no graphics context at all

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

13 years agoUpdate and improve "Hello world" example in the documentation.
Vadim Zeitlin [Wed, 23 Feb 2011 23:35:48 +0000 (23:35 +0000)] 
Update and improve "Hello world" example in the documentation.

The example was corrupted by transition to Doxygen (the menu item labels got
eaten), fix it to actually work.

Also use this opportunity to improve and modernize it.

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

13 years agosupporting content size scaling (retina display)
Stefan Csomor [Tue, 22 Feb 2011 18:51:10 +0000 (18:51 +0000)] 
supporting content size scaling (retina display)

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

13 years agobuilding iphone again
Stefan Csomor [Tue, 22 Feb 2011 15:47:09 +0000 (15:47 +0000)] 
building iphone again

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

13 years agoUpdate Czech translations.
Vadim Zeitlin [Tue, 22 Feb 2011 13:55:56 +0000 (13:55 +0000)] 
Update Czech translations.

Apply update from Zbynek Schwarz.

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

13 years agoDon't duplicate INVALID_FILE_ATTRIBUTES definition.
Vadim Zeitlin [Tue, 22 Feb 2011 13:26:06 +0000 (13:26 +0000)] 
Don't duplicate INVALID_FILE_ATTRIBUTES definition.

Move it in wx/msw/missing.h header instead of defining it in two different
places.

Closes #12964.

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

13 years agoTest for cairo_push_group() in configure.
Vadim Zeitlin [Tue, 22 Feb 2011 13:26:00 +0000 (13:26 +0000)] 
Test for cairo_push_group() in configure.

This function is required by wxGraphicsContext Cairo-based implementation but
is missing in old Cairo versions so check for it in configure and disable
wxGraphicsContext is it's not available.

Closes #12966.

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

13 years agoPut storage class outside WXDLLIMPEXP_DATA_CORE() macros.
Vadim Zeitlin [Tue, 22 Feb 2011 13:25:51 +0000 (13:25 +0000)] 
Put storage class outside WXDLLIMPEXP_DATA_CORE() macros.

The storage class must come first in a declaration so put it in front of
WXDLLIMPEXP_DATA_CORE() and not inside it to avoid warnings from some
compilers (notably Intel one).

Closes #12932.

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

13 years agoRemove duplicated control names strings declarations from wxOSX.
Vadim Zeitlin [Tue, 22 Feb 2011 13:25:38 +0000 (13:25 +0000)] 
Remove duplicated control names strings declarations from wxOSX.

There is no need to declare wxFooNameStr constants in wx/osx/foo.h files as
they are already declared in wx/foo.h.

Also remove a couple of header/forward declarations unnecessary for the same
reason.

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

13 years agoMove wxCheckBoxNameStr declarations to wx/tglbtn.h from wx/port/tglbtn.h.
Vadim Zeitlin [Tue, 22 Feb 2011 13:25:30 +0000 (13:25 +0000)] 
Move wxCheckBoxNameStr declarations to wx/tglbtn.h from wx/port/tglbtn.h.

Don't duplicate wxCheckBoxNameStr declarations in all ports.

Of course, the question still remains why does wxToggleButton use
wxCheckBoxNameStr and not a specific name in the first place.

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

13 years agoPut normal space between Back and Next buttons in wxWizard.
Václav Slavík [Sun, 20 Feb 2011 18:18:51 +0000 (18:18 +0000)] 
Put normal space between Back and Next buttons in wxWizard.

Use regular space between these two buttons even on Windows, where they
were previously close together. This used to be done in older Windows
versions, but modern Windows HIG documents show wizards with equal
spacing between all buttons and that's what Windows OS itself does. In
other words, not treating this pair of buttons specially is more native.

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

13 years agoCorrected a hit test problem when tabs are present
Julian Smart [Sun, 20 Feb 2011 12:05:13 +0000 (12:05 +0000)] 
Corrected a hit test problem when tabs are present

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

13 years agohandling nil images correctly, solves #12956
Stefan Csomor [Sun, 20 Feb 2011 06:31:12 +0000 (06:31 +0000)] 
handling nil images correctly, solves #12956

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

13 years agoappeasing clang
Stefan Csomor [Sat, 19 Feb 2011 16:18:55 +0000 (16:18 +0000)] 
appeasing clang

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

13 years agoonly draw separator line on the area adjacent to content, avoids double frames
Stefan Csomor [Sat, 19 Feb 2011 14:51:27 +0000 (14:51 +0000)] 
only draw separator line on the area adjacent to content, avoids double frames

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

13 years agoRemove unused variables in wxOSX code.
Vadim Zeitlin [Sat, 19 Feb 2011 14:17:03 +0000 (14:17 +0000)] 
Remove unused variables in wxOSX code.

Simply remove some unused variables that Xcode 4 compiler warned about.

See #12927.

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

13 years agoRemove extra semicolons in Objective-C code.
Vadim Zeitlin [Sat, 19 Feb 2011 14:16:58 +0000 (14:16 +0000)] 
Remove extra semicolons in Objective-C code.

The semicolons after the method signature in its implementation are useless
and, in fact, provoke warnings from the compiler used by Xcode 4. Simply
remove them.

See #12927.

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

13 years agoRemove stray #pragma implementation.
Vadim Zeitlin [Sat, 19 Feb 2011 14:16:52 +0000 (14:16 +0000)] 
Remove stray #pragma implementation.

This #pragma is obsolete and shouldn't be used any more (if it ever had to
be).

See #12927.

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

13 years agoRemove long unused wxHTML files.
Vadim Zeitlin [Sat, 19 Feb 2011 14:16:46 +0000 (14:16 +0000)] 
Remove long unused wxHTML files.

These files seem to be left overs from the initial cvs import many years ago,
remove them to avoid confusion.

See #12927.

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

13 years agoAdd wxT_2() macro for compatibility with wxWidgets 2 API.
Vadim Zeitlin [Sat, 19 Feb 2011 13:44:19 +0000 (13:44 +0000)] 
Add wxT_2() macro for compatibility with wxWidgets 2 API.

This macro can be used to make the same code compile with both v2 and v3 as it
expands to wxT() in 2.8 and nothing in later versions.

See #12925.

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

13 years agoAdd wxAutomationInstance_SilentIfNone flag for wxMSW OLE code.
Vadim Zeitlin [Sat, 19 Feb 2011 12:33:08 +0000 (12:33 +0000)] 
Add wxAutomationInstance_SilentIfNone flag for wxMSW OLE code.

This flag allows to suppress the error message in case there are no currently
running instances of this object and can be useful if the caller doesn't know
in advance whether it's available or not.

Closes #12734.

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

13 years agoMove "static" keyword out from wxDEPRECATED() macros to placate icc.
Vadim Zeitlin [Sat, 19 Feb 2011 12:32:59 +0000 (12:32 +0000)] 
Move "static" keyword out from wxDEPRECATED() macros to placate icc.

Intel compiler gives warnings if the static keyword is not at the beginning of
the declaration and this happened when using it inside wxDEPRECATED() and
related macros because the declaration started with __declspec(deprecated) or
__attribute__((deprecated)) instead.

To avoid this problem, simply move "static" outside the macro.

Closes #12932.

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

13 years agoCorrect signed/unsigned comparison in wxGridBagSizer code.
Vadim Zeitlin [Sat, 19 Feb 2011 12:32:53 +0000 (12:32 +0000)] 
Correct signed/unsigned comparison in wxGridBagSizer code.

Casting a signed value to unsigned type is a recipe for disaster if it
actually turns out to be negative because the comparison remains always false
and the loop becomes practically infinite. So cast the unsigned value to
signed int instead, this should be perfectly safe as the number of columns or
rows in a sizer can't exceed INT_MAX anyhow.

Notice that after the changes of the previous revision the signed value
should actually be always positive so this change is not strictly needed but
it is still safer to write the comparison like this.

See #12934.

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

13 years agoDon't accept invalid values for rows/columns in wxGBSpan ctor.
Vadim Zeitlin [Sat, 19 Feb 2011 12:32:48 +0000 (12:32 +0000)] 
Don't accept invalid values for rows/columns in wxGBSpan ctor.

wxGBSpan must have strictly positive row and column span as otherwise the grid
bag sizer code could enter an infinite loop trying to exceed a negative number
which it casted to an unsigned one. And while the cast itself is incorrect too
the program still behaves undesirably (produces a lot of asserts in debug
build and then crashes or crashes directly in release) if a zero size span is
used so it seems better to prevent this from happening.

Closes #12934.

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

13 years agoFix out of bounds string access in wxMSW wxDirDialog.
Vadim Zeitlin [Sat, 19 Feb 2011 00:30:32 +0000 (00:30 +0000)] 
Fix out of bounds string access in wxMSW wxDirDialog.

Using the initial directory of "/" (or "\\" or in fact any string consisting
solely of slashes and backslashes) resulted in a crash as the code incorrectly
tried to read the character before the beginning of the string.

Fix this by checking that the string is not empty before using s.end()-1
iterator.

Closes #12946.

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

13 years agoDon't ask for wxTextAttr colour if it doesn't have any in text sample.
Vadim Zeitlin [Sat, 19 Feb 2011 00:30:24 +0000 (00:30 +0000)] 
Don't ask for wxTextAttr colour if it doesn't have any in text sample.

This fixes an assert which could happen when showing the rich text editor.

Also show the colour in a more readable form if possible.

Closes #12950.

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

13 years agoCompilation fix for PCH-less wxOSX build.
Vadim Zeitlin [Sat, 19 Feb 2011 00:30:18 +0000 (00:30 +0000)] 
Compilation fix for PCH-less wxOSX build.

Forward declare wxChoice.

Closes #12953.

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

13 years agofixes #12935
Stefan Csomor [Fri, 18 Feb 2011 19:06:11 +0000 (19:06 +0000)] 
fixes #12935

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

13 years agobail out with error in case of carbon set for 64 bit architecture
Stefan Csomor [Fri, 18 Feb 2011 18:44:43 +0000 (18:44 +0000)] 
bail out with error in case of carbon set for 64 bit architecture

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

13 years agoprecomp header fixes
Stefan Csomor [Fri, 18 Feb 2011 18:25:23 +0000 (18:25 +0000)] 
precomp header fixes

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

13 years agoupdating sysopt string
Stefan Csomor [Fri, 18 Feb 2011 17:48:39 +0000 (17:48 +0000)] 
updating sysopt string

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

13 years agosupport for file-type popup, compatible for 10.4+, solves #12429
Stefan Csomor [Fri, 18 Feb 2011 17:29:31 +0000 (17:29 +0000)] 
support for file-type popup, compatible for 10.4+, solves #12429

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

13 years agosupport non precomp builds
Stefan Csomor [Fri, 18 Feb 2011 07:26:15 +0000 (07:26 +0000)] 
support non precomp builds

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

13 years agoFixed bug #9856: wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer
Julian Smart [Thu, 17 Feb 2011 09:53:06 +0000 (09:53 +0000)] 
Fixed bug #9856: wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer

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

13 years agoactivating high-res support via artprov mac
Stefan Csomor [Thu, 17 Feb 2011 09:46:27 +0000 (09:46 +0000)] 
activating high-res support via artprov mac

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

13 years agopatch applied with thanks, fixes #10524
Stefan Csomor [Thu, 17 Feb 2011 06:46:09 +0000 (06:46 +0000)] 
patch applied with thanks, fixes #10524

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

13 years agoCorrect example of wxRegKey use in its documentation.
Vadim Zeitlin [Wed, 16 Feb 2011 23:51:08 +0000 (23:51 +0000)] 
Correct example of wxRegKey use in its documentation.

Don't check for the key existence, it ought to exist if we create it like
this.

Also don't allocate wxRegKey object on the heap unnecessarily.

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

13 years agoRemove WXDLLIMPEXP_CORE from VC6 wxCompositeWindow declaration.
Vadim Zeitlin [Wed, 16 Feb 2011 23:45:04 +0000 (23:45 +0000)] 
Remove WXDLLIMPEXP_CORE from VC6 wxCompositeWindow declaration.

Hopefully not using WXDLLIMPEXP_CORE here should fix VC6 warnings about using
non dll-interface class as a base class for a dll-interface one.

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

13 years agoDon't use native MSW wxProgressDialog version in wxUniv.
Vadim Zeitlin [Wed, 16 Feb 2011 23:45:00 +0000 (23:45 +0000)] 
Don't use native MSW wxProgressDialog version in wxUniv.

The native version should only be used in the native port.

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

13 years agoCompile wxUIActionSimulator in wxUniv builds.
Vadim Zeitlin [Wed, 16 Feb 2011 23:44:55 +0000 (23:44 +0000)] 
Compile wxUIActionSimulator in wxUniv builds.

Move wxUIActionSimulator implementation files to low level sources to ensure
that they are included in wxUniv builds.

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

13 years agoadding edit menu in order to be able to support native edit menu commands (osx)
Stefan Csomor [Wed, 16 Feb 2011 18:51:15 +0000 (18:51 +0000)] 
adding edit menu in order to be able to support native edit menu commands (osx)

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

13 years agosupport native edit menu handling (cocoa enables menu items in built-in modal dialogs...
Stefan Csomor [Wed, 16 Feb 2011 18:32:31 +0000 (18:32 +0000)] 
support native edit menu handling (cocoa enables menu items in built-in modal dialogs automagically, if they have the proper selectors)

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

13 years agotoolbar support in all orientations
Stefan Csomor [Wed, 16 Feb 2011 18:31:16 +0000 (18:31 +0000)] 
toolbar support in all orientations

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

13 years agotoolbar support in all orientations
Stefan Csomor [Wed, 16 Feb 2011 18:30:55 +0000 (18:30 +0000)] 
toolbar support in all orientations

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

13 years agoremove ununsed member
Stefan Csomor [Wed, 16 Feb 2011 16:37:24 +0000 (16:37 +0000)] 
remove ununsed member

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

13 years agoconforming to deprecation recommendation for 10.6
Stefan Csomor [Wed, 16 Feb 2011 16:10:30 +0000 (16:10 +0000)] 
conforming to deprecation recommendation for 10.6

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

13 years agosupport for file types in save panel
Stefan Csomor [Wed, 16 Feb 2011 07:38:48 +0000 (07:38 +0000)] 
support for file types in save panel

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

13 years agosupport wxFD_MULTIPLE
Stefan Csomor [Wed, 16 Feb 2011 06:59:53 +0000 (06:59 +0000)] 
support wxFD_MULTIPLE

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

13 years agofixing naming to conform to effective ownership, cleaning up releasing
Stefan Csomor [Wed, 16 Feb 2011 06:55:43 +0000 (06:55 +0000)] 
fixing naming to conform to effective ownership, cleaning up releasing

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

13 years agofix GCC warning
Paul Cornett [Wed, 16 Feb 2011 05:13:00 +0000 (05:13 +0000)] 
fix GCC warning

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

13 years agoFixed compilation when WXINTL_NO_GETTEXT_MACRO is defined.
Mattia Barbon [Tue, 15 Feb 2011 20:31:19 +0000 (20:31 +0000)] 
Fixed compilation when WXINTL_NO_GETTEXT_MACRO is defined.

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

13 years agoMake the source file non-executable.
Vadim Zeitlin [Tue, 15 Feb 2011 10:15:27 +0000 (10:15 +0000)] 
Make the source file non-executable.

The file ctrlcmn.cpp somehow got the executable bit in r66871, undo this.

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

13 years agoDon't increase button height in wxMSWButton::GetFittingSize().
Vadim Zeitlin [Mon, 14 Feb 2011 22:12:16 +0000 (22:12 +0000)] 
Don't increase button height in wxMSWButton::GetFittingSize().

This is unnecessary and resulted in too high buttons in some cases for buttons
with images. As we increase the button height to at least the standard value
later in all code using function anyhow, it's not necessary to do anything
with the height inside it.

Now the buttons with an image get the same height whether they have the text
or not.

This change also gets rid of (completely arbitrary) decision to use 11/10 of
the label height when computing the fitting button size and it's always nice
to get rid of dirty hacks like this.

Closes #12924.

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

13 years agoDon't make buttons with images too wide in wxMSW.
Vadim Zeitlin [Mon, 14 Feb 2011 22:12:10 +0000 (22:12 +0000)] 
Don't make buttons with images too wide in wxMSW.

We used to increase the button size to the standard size first and then add
the extra padding the buttons with images. This resulted in too much padding
for the buttons with short text labels and images.

Instead, add the padding for the image first and only then increase the button
size to the standard one if still needed.

See #12924.

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

13 years agoDon't add margins for buttons with text and images by default in wxMSW.
Vadim Zeitlin [Mon, 14 Feb 2011 22:12:04 +0000 (22:12 +0000)] 
Don't add margins for buttons with text and images by default in wxMSW.

For some reason wxXPButtonImageData added (big) margins around the button by
default resulting in too much padding. Simply remove these margins to make it
behave similarly to wxODButtonImageData.

See #12924.

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

13 years agoClarify wxButton::AdjustForBitmapSize() semantics in wxMSW.
Vadim Zeitlin [Mon, 14 Feb 2011 22:11:58 +0000 (22:11 +0000)] 
Clarify wxButton::AdjustForBitmapSize() semantics in wxMSW.

This method should only be called if we do have an image, assert (instead of
silently returning) if it's called when we don't.

Also explain in a comment why do we need to call CacheBestSize() only when we
have an image in DoGetBestSize().

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

13 years agosupport framelayout for choice
Stefan Csomor [Mon, 14 Feb 2011 19:13:04 +0000 (19:13 +0000)] 
support framelayout for choice

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

13 years agoRemove X11-specific wxWindowIsVisible() from common Unix file.
Vadim Zeitlin [Mon, 14 Feb 2011 12:30:43 +0000 (12:30 +0000)] 
Remove X11-specific wxWindowIsVisible() from common Unix file.

XGetWindowAttributes() used in this function resulted in link problems under
Fedora 14 because we don't explicitly link with libX11. Instead of doing this,
simply get rid of this function as it seems to be used in exactly one place in
wxX11 code only anyhow.

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

13 years agoExplain wxSizer::SetVirtualSizeHints() deprecation.
Vadim Zeitlin [Mon, 14 Feb 2011 11:59:13 +0000 (11:59 +0000)] 
Explain wxSizer::SetVirtualSizeHints() deprecation.

Tell people that FitInside() should be used instead.

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

13 years agoFix VC2008 dependencies with Bakefile 0.2.9.
Václav Slavík [Sun, 13 Feb 2011 17:09:33 +0000 (17:09 +0000)] 
Fix VC2008 dependencies with Bakefile 0.2.9.

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

13 years agoMore wxControl::Ellipsize() tests.
Václav Slavík [Wed, 9 Feb 2011 19:52:50 +0000 (19:52 +0000)] 
More wxControl::Ellipsize() tests.

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

13 years agoDon't eliminate text completely in Ellipsize().
Václav Slavík [Wed, 9 Feb 2011 19:52:34 +0000 (19:52 +0000)] 
Don't eliminate text completely in Ellipsize().

If the shortened text is so short there's nothing left of the original,
show one character and "...". This is standard behaviour on both
Windows and OS X, in addition to making lot of sense.

Fixes #11360.

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

13 years agoCalculate ellipsized width exactly.
Václav Slavík [Wed, 9 Feb 2011 19:52:22 +0000 (19:52 +0000)] 
Calculate ellipsized width exactly.

Width calculation using partial extents is just an inaccurate
estimate: partial extents have sub-pixel precision and are rounded
by GetPartialTextExtents(). Use partial extents to
estimate string width and only verify it with GetTextExtent()
when it looks good.

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

13 years agoDon't shorten text too much in wxControl::Ellipsize().
Václav Slavík [Wed, 9 Feb 2011 19:52:10 +0000 (19:52 +0000)] 
Don't shorten text too much in wxControl::Ellipsize().

If the allowed width is so small that nothing reasonable can fit it,
overlap it. Ellipsized text must always contain "..." to indicate that
it was shortened, it isn't acceptable to omit it.

See #11360.

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

13 years agoEllipsization can't shorten 1-character string.
Václav Slavík [Wed, 9 Feb 2011 19:51:58 +0000 (19:51 +0000)] 
Ellipsization can't shorten 1-character string.

It doesn't make sense to attempt to shorten 1 character long string, so
don't do it. Note that 2 characters strings may be shortened (consider
e.g. "mm" in some typefaces).

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

13 years agoRemove "safety margin" from wxControl::Ellipsize().
Václav Slavík [Wed, 9 Feb 2011 19:51:47 +0000 (19:51 +0000)] 
Remove "safety margin" from wxControl::Ellipsize().

When ellipsizing kicks in, the text is much shorter than the available
space -- there's a "safety margin" of one character's width that is
always left unused. This appears to be some kludge that worked around
algorithm defects, not something that should really be needed.

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

13 years agoAdded missing wxBitmapComboBox::Insert() implementation
Jaakko Salli [Wed, 9 Feb 2011 19:11:13 +0000 (19:11 +0000)] 
Added missing wxBitmapComboBox::Insert() implementation

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

13 years agoTweak offset in the RichTextCtrlTestCase::UrlEvent() to make it pass.
Vadim Zeitlin [Tue, 8 Feb 2011 17:24:50 +0000 (17:24 +0000)] 
Tweak offset in the RichTextCtrlTestCase::UrlEvent() to make it pass.

The mouse was not positioned over the URL in this test so clicking it didn't
work. Tweak the offset to make it pass but it would be better to have some
more fool-proof way of finding the real position of the text in the control.

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

13 years agoUse wxLocale instead of setlocale() to change the locale in the tests.
Vadim Zeitlin [Tue, 8 Feb 2011 17:24:45 +0000 (17:24 +0000)] 
Use wxLocale instead of setlocale() to change the locale in the tests.

Numeric validator tests rely on wxLocale::GetInfo() returning the decimal
point and calling setlocale() is not enough to ensure this under MSW, we must
use wxLocale for this currently.

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

13 years agodisabling multiline text controls correctly
Stefan Csomor [Tue, 8 Feb 2011 14:19:20 +0000 (14:19 +0000)] 
disabling multiline text controls correctly

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

13 years agoforward enable functionality to inner view in scrollview (eg for multiline textviews)
Stefan Csomor [Tue, 8 Feb 2011 14:11:56 +0000 (14:11 +0000)] 
forward enable functionality to inner view in scrollview (eg for multiline textviews)

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

13 years agoFix wxWrapSizer minimal size calculation.
Vadim Zeitlin [Tue, 8 Feb 2011 13:36:13 +0000 (13:36 +0000)] 
Fix wxWrapSizer minimal size calculation.

Add a unit test checking that wxWrapSizer::CalcMin() returns the expected
results.

Closes #12464.

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

13 years agoFix bytes to integers conversion in png2c script.
Vadim Zeitlin [Tue, 8 Feb 2011 13:36:06 +0000 (13:36 +0000)] 
Fix bytes to integers conversion in png2c script.

Use really correct coefficients for all the bytes.

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

13 years agoDefine KEY_WOW64_64KEY if it is missing from SDK headers.
Vadim Zeitlin [Tue, 8 Feb 2011 13:36:01 +0000 (13:36 +0000)] 
Define KEY_WOW64_64KEY if it is missing from SDK headers.

Fixes compilation with old SDKs, e.g. the one used by VC6.

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