wxWidgets.git
13 years agoPass wxRect/wxPoint arguments to wxDataViewCustomRenderer by reference.
Václav Slavík [Tue, 1 Mar 2011 12:16:49 +0000 (12:16 +0000)] 
Pass wxRect/wxPoint arguments to wxDataViewCustomRenderer by reference.

Instead of passing them by value, use const reference. This change
is safe to do, because these methods' signatures were different in 2.8
anyhow.

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

13 years agoFixed typo.
Václav Slavík [Tue, 1 Mar 2011 12:16:45 +0000 (12:16 +0000)] 
Fixed typo.

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

13 years agoToggle checkboxes in generic wxDataViewCtrl with single click.
Václav Slavík [Mon, 28 Feb 2011 21:23:10 +0000 (21:23 +0000)] 
Toggle checkboxes in generic wxDataViewCtrl with single click.

Both GTK+ and OS X native controls use single click to toggle
checkboxes, instead of double-click activation used by the generic
version. So does wxCheckListBox on Windows, so make wxDVC
behave the same way.

See #11185.

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

13 years agoGet rid of WXGetAsCustom().
Václav Slavík [Mon, 28 Feb 2011 21:23:04 +0000 (21:23 +0000)] 
Get rid of WXGetAsCustom().

Instead, have WXOnActivate() and WXOnLeftClick() with same signatures as
their public API counterparts and just call Activate/LeftClick() from
them for wxDataViewCustomRenderer.

This accomplishes the same thing, but makes it easier to override
behaviour in wx's internal implementations of renderers.

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

13 years agowxDataViewCtrl: Fully prepare renderer for Activate() call.
Václav Slavík [Mon, 28 Feb 2011 21:23:00 +0000 (21:23 +0000)] 
wxDataViewCtrl: Fully prepare renderer for Activate() call.

Instead of just setting the value in the generic implementation, do full
preparation (incl. attributes etc.) as everywhere else.

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

13 years agoadding hour constant to carbon build
Stefan Csomor [Mon, 28 Feb 2011 19:46:29 +0000 (19:46 +0000)] 
adding hour constant to carbon build

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

13 years agofixing non-precomp headers
Stefan Csomor [Mon, 28 Feb 2011 19:29:15 +0000 (19:29 +0000)] 
fixing non-precomp headers

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

13 years agodisable cursorRects for global busy state
Stefan Csomor [Mon, 28 Feb 2011 14:47:32 +0000 (14:47 +0000)] 
disable cursorRects for global busy state

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

13 years agoavoid setting live cursor during busy state
Stefan Csomor [Mon, 28 Feb 2011 14:39:37 +0000 (14:39 +0000)] 
avoid setting live cursor during busy state

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

13 years agoadd watch cursor to osx_cocoa
Stefan Csomor [Mon, 28 Feb 2011 13:44:25 +0000 (13:44 +0000)] 
add watch cursor to osx_cocoa

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

13 years agodon't swallow command events that are not handled by accels, fixes #12373
Stefan Csomor [Mon, 28 Feb 2011 12:14:15 +0000 (12:14 +0000)] 
don't swallow command events that are not handled by accels, fixes #12373

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

13 years agoadding taskbar implementation for statusitem (menubar) and dock, fixes #12838
Stefan Csomor [Mon, 28 Feb 2011 10:12:06 +0000 (10:12 +0000)] 
adding taskbar implementation for statusitem (menubar) and dock, fixes #12838

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

13 years agomoving appdelegate declaration to header
Stefan Csomor [Mon, 28 Feb 2011 10:10:08 +0000 (10:10 +0000)] 
moving appdelegate declaration to header

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

13 years agomake sure the quit item is only shown where appropriate on osx
Stefan Csomor [Mon, 28 Feb 2011 10:07:00 +0000 (10:07 +0000)] 
make sure the quit item is only shown where appropriate on osx

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

13 years agoosx_cocoa supports both kind of taskbaricons in the menubar (standard) and as functio...
Stefan Csomor [Mon, 28 Feb 2011 09:26:55 +0000 (09:26 +0000)] 
osx_cocoa supports both kind of taskbaricons in the menubar (standard) and as function of the dock (type DOCK)

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

13 years agomake sure 10.4 command-key events are routed via the wx-accelerator route as well...
Stefan Csomor [Sun, 27 Feb 2011 20:38:40 +0000 (20:38 +0000)] 
make sure 10.4 command-key events are routed via the wx-accelerator route as well, fixes #12373

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

13 years agoUse single quotes in wxMarkupText unit test to work around VC6 bug.
Vadim Zeitlin [Sun, 27 Feb 2011 18:36:55 +0000 (18:36 +0000)] 
Use single quotes in wxMarkupText unit test to work around VC6 bug.

VC6 seems to have a strange bug with escaped quotes used in strings passed to
macros and failed to compile the original code with nonsensical error messages.

Use single quotes to try to work around this issue. They are also somewhat
more readable as they don't need to be escaped inside C strings.

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

13 years agoAdd a trivial virtual dtor to wxMarkupParserOutput.
Vadim Zeitlin [Sun, 27 Feb 2011 18:36:52 +0000 (18:36 +0000)] 
Add a trivial virtual dtor to wxMarkupParserOutput.

This class isn't really supposed to be used polymorphically but add a virtual
dtor just to suppress g++ warning about it.

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

13 years agoAnother fix for PCH-less build in markup code.
Vadim Zeitlin [Sun, 27 Feb 2011 18:36:48 +0000 (18:36 +0000)] 
Another fix for PCH-less build in markup code.

Include wx/control.h to use wxControl::RemoveMnemonics() and
FindAccelInIndex().

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

13 years agoFixed drawing glitch with vertical MSW toolbars.
Dimitri Schoolwerth [Sun, 27 Feb 2011 15:09:13 +0000 (15:09 +0000)] 
Fixed drawing glitch with vertical MSW toolbars.

In case of a certain amount of whitespace at the bottom of a vertical toolbar it would not be drawn correctly: the more whitespace the more painting would be clipped starting from the left (covering the whole height of the toolbar) until the toolbar would look completely empty.

This was reproducible using the toolbar sample, setting the toolbar on the left or right edge of the window and then increasing the height of the window sufficiently.

Regression since r62971.

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

13 years agoReplace template function with template class to placate VC6.
Vadim Zeitlin [Sun, 27 Feb 2011 14:01:36 +0000 (14:01 +0000)] 
Replace template function with template class to placate VC6.

VC6 has very poor support for template functions and in particular doesn't
understand explicitly choosing the type of the function to call so replace
template DoApplyToFont() function with FontModifier template class in
wxMarkupParserAttrOutput implementation.

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

13 years agoFix for PCH-less build in markup code.
Vadim Zeitlin [Sun, 27 Feb 2011 13:17:41 +0000 (13:17 +0000)] 
Fix for PCH-less build in markup code.

Include wx/log.h to use wxLogDebug().

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

13 years agoUpdate markup support documentation.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:54 +0000 (12:48 +0000)] 
Update markup support documentation.

Mention that wxButton and wxStaticText now support markup in all major ports
(using the generic version of the latter under MSW).

Also mention markup changes in the change log.

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

13 years agoAdd markup support to wxOSX/Cocoa wxStaticText and wxButton.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:46 +0000 (12:48 +0000)] 
Add markup support to wxOSX/Cocoa wxStaticText and wxButton.

Add wxMarkupToAttrString helper that converts wx markup to OS X attribute
strings and use it in wxStaticText and wxButton.

This required adding new SetLabelMarkup() method to wxWidgetCocoaImpl, it
seems to make sense to have it there as it could be implemented by more
controls in the future.

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

13 years agoNo real changes, just make wxColour::OSXGetNSColor() const.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:42 +0000 (12:48 +0000)] 
No real changes, just make wxColour::OSXGetNSColor() const.

There is no reason to not allow calling this method on const wxColour objects.

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

13 years agoAdd markup support to generic wxStaticText implementation.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:38 +0000 (12:48 +0000)] 
Add markup support to generic wxStaticText implementation.

wxMarkupText allows to easily support markup in the controls that we draw
ourselves so use it in wxGenericStaticText to have a possibility to use
markup on all platforms, even those where there is no native markup support in
wxStaticText itself.

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

13 years agoImplement support for markup labels for wxGTK wxButton.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:30 +0000 (12:48 +0000)] 
Implement support for markup labels for wxGTK wxButton.

Simply directly set the markup for the GtkLabel used by GtkButton internally.

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

13 years agoAdd markup support to wxMSW wxButton and show it in the sample.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:26 +0000 (12:48 +0000)] 
Add markup support to wxMSW wxButton and show it in the sample.

Use recently added wxMarkupText to implement support for markup in wxMSW
wxButton.

Update the button page of the widgets sample to show markup support.

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

13 years agoAdd generic wxMarkupText class implementing handling of markup.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:21 +0000 (12:48 +0000)] 
Add generic wxMarkupText class implementing handling of markup.

wxMarkupText is a private class that implements generic handling of markup
strings, i.e. can measure them and render them onto a wxDC.

This class will be used for markup support in wxMSW wxButton.

Also add wxMarkupParserAttrOutput which will be useful for other wxMarkupText
implementations.

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

13 years agoAdd wxDC::GetFontMetrics() and implement it for wxMSW.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:13 +0000 (12:48 +0000)] 
Add wxDC::GetFontMetrics() and implement it for wxMSW.

Add a new wxDC method allowing to retrieve the font characteristics not
available from GetTextExtent(), notably the internal leading (and also the
average font width).

Currently this is implemented for wxMSW only, the internal leading is always 0
in the other ports.

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

13 years agoAdd wxUSE_MARKUP and wrap SetLabelMarkup() in it.
Vadim Zeitlin [Sun, 27 Feb 2011 12:48:07 +0000 (12:48 +0000)] 
Add wxUSE_MARKUP and wrap SetLabelMarkup() in it.

Make it possible to disable all the new markup-related code by setting
wxUSE_MARKUP to 0 in setup.h or using configure --disable-markup option.

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

13 years agoNo changes, just add a couple of #if wxUSE_COMMANDLINKBUTTON tests.
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:59 +0000 (12:47 +0000)] 
No changes, just add a couple of #if wxUSE_COMMANDLINKBUTTON tests.

Don't even declare m_chkCommandLink if we have no support for command link
buttons in the library.

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

13 years agoDraw the underline 1 pixel higher in wxDC::DrawLabel().
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:55 +0000 (12:47 +0000)] 
Draw the underline 1 pixel higher in wxDC::DrawLabel().

Adjust the height of the underline to be compatible with native MSW behaviour.

Notice that in wxGTK we should use pango_font_metrics_get_underline_position()
to get the font-dependent value that should be used here.

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

13 years agoRestore height tweaking in wxMSWButton::GetFittingSize().
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:48 +0000 (12:47 +0000)] 
Restore height tweaking in wxMSWButton::GetFittingSize().

The change of r66893 was wrong, we do need to adjust the button height here
because the increase to standard height is not enough if we use bigger fonts
that require making taller buttons.

The real problem was the use of EDIT_HEIGHT_FROM_CHAR_HEIGHT() which added too
much to the height, so replace it with something based on the actual font
height. This is still arbitrary but slightly better.

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

13 years agoInitialize wxButton::m_authNeeded in ctor and not Create() in wxMSW.
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:43 +0000 (12:47 +0000)] 
Initialize wxButton::m_authNeeded in ctor and not Create() in wxMSW.

Ensure that the member is always initialized as calling GetAuthNeeded() for a
default-constructed button would access a non-initialized variable before.

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

13 years agoNo changes, just do wxButton fields initialization in Init() in wxMSW.
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:36 +0000 (12:47 +0000)] 
No changes, just do wxButton fields initialization in Init() in wxMSW.

Add a helper function called from ctors and initialize m_imageData in it
instead of doing it in each ctor -- this will be more important when we add
more wxButton members.

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

13 years agoNo changes, just move wxMSW wxButton::MakeOwnerDrawn() around.
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:31 +0000 (12:47 +0000)] 
No changes, just move wxMSW wxButton::MakeOwnerDrawn() around.

Put this method in the existing private section at the end of the class
instead of having an extra access specifier just for it for some reason.

Also add a comment explaining what it does and when is it used.

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

13 years agoReplace wxST_MARKUP style with wxControl::SetLabelMarkup().
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:26 +0000 (12:47 +0000)] 
Replace wxST_MARKUP style with wxControl::SetLabelMarkup().

This is an incompatible change which removes the wxStaticText-specific
wxST_MARKUP style and adds wxControl::SetLabelMarkup() replacing it.

It doesn't actually change anything yet but it simplifies wxStaticText code a
lot by getting rid of many markup-related functions in it which had to behave
differently depending on whether wxST_MARKUP was used or not and also paves
way for adding markup support for the other controls in the future.

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

13 years agoDon't call base class SetLabel() from GTKSetLabelForLabel().
Vadim Zeitlin [Sun, 27 Feb 2011 12:47:15 +0000 (12:47 +0000)] 
Don't call base class SetLabel() from GTKSetLabelForLabel().

Calling wxControlBase::SetLabel() only from GTKSetLabelForLabel() made its
behaviour inconsistent with GTKSetLabelWithMarkupForLabel() and also was
redundant in all but two places from which it was called, so remove this call
from this function itself and instead add it to its callers where it's really
needed.

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

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