]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
9 years agoSomehow, setting a tint color makes gauge work :/.
Jay Freeman (saurik) [Tue, 7 Jul 2015 13:46:49 +0000 (06:46 -0700)] 
Somehow, setting a tint color makes gauge work :/.

9 years agoThe rounded corners look really dumb at this size.
Jay Freeman (saurik) [Tue, 7 Jul 2015 12:48:11 +0000 (05:48 -0700)] 
The rounded corners look really dumb at this size.

9 years agoThe UIProgressView is somehow not doing layout :(.
Jay Freeman (saurik) [Tue, 7 Jul 2015 12:47:46 +0000 (05:47 -0700)] 
The UIProgressView is somehow not doing layout :(.

9 years agoAllow more than one line in a wxStaticText on iOS.
Jay Freeman (saurik) [Mon, 6 Jul 2015 07:22:54 +0000 (00:22 -0700)] 
Allow more than one line in a wxStaticText on iOS.

9 years agoImplement setFont on the iOS port of wxStaticText.
Jay Freeman (saurik) [Mon, 6 Jul 2015 07:22:17 +0000 (00:22 -0700)] 
Implement setFont on the iOS port of wxStaticText.

10 years agoOSX_ARCH_OPTS also needs to be added to CPPFLAGS.
Jay Freeman (saurik) [Wed, 26 Feb 2014 04:34:55 +0000 (20:34 -0800)] 
OSX_ARCH_OPTS also needs to be added to CPPFLAGS.

11 years agoRemove invalid attempts to detect 64-bit MinGW.
Jay Freeman (saurik) [Fri, 4 Oct 2013 19:09:15 +0000 (12:09 -0700)] 
Remove invalid attempts to detect 64-bit MinGW.

11 years agoFix configure check for gcc atomics on 32-bit x86.
Jay Freeman (saurik) [Fri, 4 Oct 2013 18:29:08 +0000 (11:29 -0700)] 
Fix configure check for gcc atomics on 32-bit x86.

11 years agoIncrease the number of visible OS X combo items.
Jay Freeman (saurik) [Fri, 4 Oct 2013 10:46:18 +0000 (03:46 -0700)] 
Increase the number of visible OS X combo items.

11 years agoHack compilation using the latest MinGW release.
Jay Freeman (saurik) [Fri, 4 Oct 2013 09:39:56 +0000 (02:39 -0700)] 
Hack compilation using the latest MinGW release.

11 years agoFix a very annoying autorelease pool memory leak.
Jay Freeman (saurik) [Fri, 4 Oct 2013 09:39:24 +0000 (02:39 -0700)] 
Fix a very annoying autorelease pool memory leak.

11 years agoExpose the Apple menu so it can be setup manually.
Jay Freeman (saurik) [Fri, 4 Oct 2013 09:38:00 +0000 (02:38 -0700)] 
Expose the Apple menu so it can be setup manually.

11 years agoCorrected border drawing to avoid clipping
Julian Smart [Fri, 4 Oct 2013 07:57:26 +0000 (07:57 +0000)] 
Corrected border drawing to avoid clipping

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

11 years agowxRTC table layout now uses cell content to calculate column widths if no other width...
Julian Smart [Fri, 4 Oct 2013 05:51:36 +0000 (05:51 +0000)] 
wxRTC table layout now uses cell content to calculate column widths if no other widths specified

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

11 years agoInclude wxWANTS_CHARS style unless wxTE_READONLY is specified
Julian Smart [Thu, 3 Oct 2013 12:12:07 +0000 (12:12 +0000)] 
Include wxWANTS_CHARS style unless wxTE_READONLY is specified

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

11 years agoAdd RELAX NG schema for XRC files.
Václav Slavík [Thu, 3 Oct 2013 11:08:57 +0000 (11:08 +0000)] 
Add RELAX NG schema for XRC files.

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

11 years agoMisc validity fixes to samples/xrc/rc/*.xrc.
Václav Slavík [Thu, 3 Oct 2013 11:08:54 +0000 (11:08 +0000)] 
Misc validity fixes to samples/xrc/rc/*.xrc.

Fix invalid XRC markup.

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

11 years agoXRC spec: document wxRibbon* XRC handler.
Václav Slavík [Thu, 3 Oct 2013 11:08:48 +0000 (11:08 +0000)] 
XRC spec: document wxRibbon* XRC handler.

Format documentation was nonexistent (the few words present were
incorrect). Document my best guess about the intended usage.

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

11 years agoXRC spec: relax requirements on some commonly omitted properties.
Václav Slavík [Thu, 3 Oct 2013 11:08:44 +0000 (11:08 +0000)] 
XRC spec: relax requirements on some commonly omitted properties.

Some properties documented as required, such as labels on wxStaticText
or wxCheckBox or the size of wxSizer spacers, are frequently omitted in
practice.

Rather than strictly requiring them, forcing the markup to include dummy
empty elements, loosen the restriction in the spec and make them
optional.  Nothing changes about actual acceptance of files by
wxXmlResource: it would already silently deal with the lack of these
properties.

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

11 years agoXRC spec: document the "title" property for wxWizard.
Václav Slavík [Thu, 3 Oct 2013 11:08:42 +0000 (11:08 +0000)] 
XRC spec: document the "title" property for wxWizard.

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

11 years agoXRC spec: document the "focused" window property.
Václav Slavík [Thu, 3 Oct 2013 11:08:39 +0000 (11:08 +0000)] 
XRC spec: document the "focused" window property.

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

11 years agoFix install_name_tool calls in OS X "make install".
Vadim Zeitlin [Thu, 3 Oct 2013 10:34:49 +0000 (10:34 +0000)] 
Fix install_name_tool calls in OS X "make install".

Unfortunately the changes of r74909 (see #15452) don't seem to have been
tested and broke "make install" completely as libraries were not found in the
"bin" directory where the script was looking for them. Fix it to use "lib"
subdirectory as intended.

Closes #15551.

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

11 years agoRomanian translations fixes from Catalin Raceanu.
Vadim Zeitlin [Thu, 3 Oct 2013 10:34:46 +0000 (10:34 +0000)] 
Romanian translations fixes from Catalin Raceanu.

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

11 years agoAvoid dropping events in wxDocParentFrameAnyBase in some circumstances.
Vadim Zeitlin [Wed, 2 Oct 2013 23:32:06 +0000 (23:32 +0000)] 
Avoid dropping events in wxDocParentFrameAnyBase in some circumstances.

The code trying to avoid forwarding duplicate events to wxDocManager was over
eager and in some situations filtered out the events which hadn't been sent to
it yet and were, in fact, not handled at all. This could be seen, for example,
by running the docview sample with "--sdi" command line option, creating one
child frame and then trying to create another one from the parent frame menu:
this failed because the existence of a valid child was considered to be enough
for the event to have been already processed in it which was false in this case.

Unfortunately there is no obvious fix to this problem, notably because of the
very roundabout way the toolbar events are processed in MDI windows: the
toolbar itself is a child of the parent frame but the events from it are still
sent to the currently active child frame by wxMDIParentFrameBase. So we can't
rely on any kind of parent-of-originating-window checks.

Instead, remember the last event handled in the child and avoid processing the
same event in wxDocManager again. This should at least avoid the false
positives (like the one fixed by this commit), although it could still result
in false negatives (i.e. some duplicated events) if an event handler generated
other events while skipping the original one. This is a lesser evil though and
should be relatively rare in practice, so live with this ugliness until
someone comes with another idea of fixing the bug described above.

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

11 years agoNo changes, just fix a typo in a comment in wx/docview.h.
Vadim Zeitlin [Wed, 2 Oct 2013 23:32:03 +0000 (23:32 +0000)] 
No changes, just fix a typo in a comment in wx/docview.h.

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

11 years agoNo changes, just fix a typo in a comment in docview event handling code.
Vadim Zeitlin [Wed, 2 Oct 2013 23:32:00 +0000 (23:32 +0000)] 
No changes, just fix a typo in a comment in docview event handling code.

This code is non-trivial enough without confusingly calling a view "new".

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

11 years agoA couple of fixes to Brazilian Portuguese translations from Felipe.
Vadim Zeitlin [Wed, 2 Oct 2013 22:55:08 +0000 (22:55 +0000)] 
A couple of fixes to Brazilian Portuguese translations from Felipe.

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

11 years agoAdd wxActivateEvent::GetActivationReason().
Vadim Zeitlin [Wed, 2 Oct 2013 16:25:04 +0000 (16:25 +0000)] 
Add wxActivateEvent::GetActivationReason().

This method is implemented for wxMSW-only currently and allows to check
whether the window is being activated by a mouse click or in some other way
there.

Closes #15516.

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

11 years agoFix incorrect event handler functions casts in wxRibbonPanel code.
Vadim Zeitlin [Wed, 2 Oct 2013 16:24:59 +0000 (16:24 +0000)] 
Fix incorrect event handler functions casts in wxRibbonPanel code.

Use wxMouseEventHandler() instead of (wrongly) casting a method taking
wxMouseEvent to wxEvent-taking wxObjectEventFunction.

Closes #15550.

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

11 years agoAdd more checks for Intel compiler.
Vadim Zeitlin [Tue, 1 Oct 2013 23:04:51 +0000 (23:04 +0000)] 
Add more checks for Intel compiler.

This should have been part of r74888.

Closes #15359.

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

11 years agoRemove support for Gnome printing from wxGTK.
Vadim Zeitlin [Tue, 1 Oct 2013 17:09:02 +0000 (17:09 +0000)] 
Remove support for Gnome printing from wxGTK.

It was replaced by GTK+ printing several years ago and is almost never used
any longer anyhow, so any problems in this code (and there are some) would
never be found and fixed.

Also update the message catalogs to avoid having the strings not used any
more, as they were only used in Gnome printing code.

Closes #15517.

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

11 years agoGo back to using a fixed value of 3 for lines/columns per action for mouse wheel...
Paul Cornett [Tue, 1 Oct 2013 16:33:30 +0000 (16:33 +0000)] 
Go back to using a fixed value of 3 for lines/columns per action for mouse wheel event.
The native value is too large. Reverts the effect of r74805. Closes #15527

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

11 years agoFurther refine of #15226: wxRichTextCtrl: Implement setting properties with undo...
Julian Smart [Tue, 1 Oct 2013 16:33:24 +0000 (16:33 +0000)] 
Further refine of #15226: wxRichTextCtrl: Implement setting properties with undo for objects e.g. wxRichTextTable (dghart)

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

11 years agoInstall wxrc with proper library dependencies under OS X.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:55 +0000 (16:08 +0000)] 
Install wxrc with proper library dependencies under OS X.

In addition to changing the libraries themselves to point to the dependencies
in their installed location, we also need to do the same thing for wxrc when
installing it under OS X, otherwise it wouldn't run once the libraries are not
available in their original location any more.

Closes #15452.

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

11 years agoRemove unused debian subdirectory.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:50 +0000 (16:08 +0000)] 
Remove unused debian subdirectory.

All Debian-based distributions use their own files for creating their
packages, so get rid of our own "debian" subdirectory to avoid confusing
people and to not have to maintain them any more.

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

11 years agoRemove RPM .spec files from the repository.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:44 +0000 (16:08 +0000)] 
Remove RPM .spec files from the repository.

They were not really used for anything but still had to be updated and
maintained.

Get rid of them as all RPM-based distributions use their own spec files
anyhow.

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

11 years agoRemove obsolete CodeWarrior-related batch files.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:39 +0000 (16:08 +0000)] 
Remove obsolete CodeWarrior-related batch files.

This compiler is not supported (and doesn't even exist, in fact) any more and
these files should have been removed in r59493.

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

11 years agoRemove obsolete VisualAge-related files.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:36 +0000 (16:08 +0000)] 
Remove obsolete VisualAge-related files.

These were used under OS/2 circa 2000.

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

11 years agoDefine _CRT_NONSTDC_NO_WARNINGS for zlib compilation with MSVC.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:33 +0000 (16:08 +0000)] 
Define _CRT_NONSTDC_NO_WARNINGS for zlib compilation with MSVC.

This avoids a bunch of harmless but annoying warnings due to the use of POSIX
functions in zlib code.

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

11 years agoUpgrade bundled zlib to 1.2.8.
Vadim Zeitlin [Tue, 1 Oct 2013 16:08:25 +0000 (16:08 +0000)] 
Upgrade bundled zlib to 1.2.8.

No real changes from wxWidgets point of view.

Closes #15314.

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

11 years agoApplied #15226 wxRichTextCtrl: Implement setting properties with undo for objects...
Julian Smart [Tue, 1 Oct 2013 15:47:49 +0000 (15:47 +0000)] 
Applied #15226 wxRichTextCtrl: Implement setting properties with undo for objects e.g. wxRichTextTable (dghart)

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

11 years agoExclude zlib 3rd party sources from our checks too.
Vadim Zeitlin [Tue, 1 Oct 2013 15:25:00 +0000 (15:25 +0000)] 
Exclude zlib 3rd party sources from our checks too.

zlib ChangeLog file is not in UTF-8 in 1.2.8 and so doesn't pass our checks.

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

11 years agoAdd a few missing appearance screenshots for the manual.
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:34 +0000 (13:03 +0000)] 
Add a few missing appearance screenshots for the manual.

This fixes the last remaining Doxygen warnings.

Closes #15346.

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

11 years agoUse generic appearance for wxSimpleHtmlListBox.
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:28 +0000 (13:03 +0000)] 
Use generic appearance for wxSimpleHtmlListBox.

It doesn't make much sense to have platform-specific screenshots for this
generic control.

See #15346.

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

11 years agoMake @genericAppearance Doxygen macro consistent with @appearance.
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:25 +0000 (13:03 +0000)] 
Make @genericAppearance Doxygen macro consistent with @appearance.

Append ".png" extension automatically, just as @appearance does.

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

11 years agoUse wxListCtrl screenshots for wxListView as well.
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:20 +0000 (13:03 +0000)] 
Use wxListCtrl screenshots for wxListView as well.

wxListView appears identically to wxListCtrl in report mode and the existing
wxListCtrl screenshots show it exactly in this mode, so it doesn't make much
sense to duplicate them.

This also avoids Doxygen warnings about missing wxListView screenshots for
MSW and OSX.

See #15346.

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

11 years agoDocument domain parameter of wxTranslations::GetTranslatedString().
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:15 +0000 (13:03 +0000)] 
Document domain parameter of wxTranslations::GetTranslatedString().

This parameter needs to be documented, if only to avoid a Doxygen warning.

See #15346.

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

11 years agoFix wrong references to wxImageList description in XRC format docs.
Vadim Zeitlin [Tue, 1 Oct 2013 13:03:10 +0000 (13:03 +0000)] 
Fix wrong references to wxImageList description in XRC format docs.

xrc_wximagelist reference didn't exist and resulted in Doxygen errors.

See #15346.

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

11 years agoDestroy the wxDialog::ShowWindowModalThenDo() functor a.s.a.p.
Václav Slavík [Tue, 1 Oct 2013 12:19:56 +0000 (12:19 +0000)] 
Destroy the wxDialog::ShowWindowModalThenDo() functor a.s.a.p.

Previously, the functor was kept in a helper event handler that was bound to
wxEVT_WINDOW_MODAL_DIALOG_CLOSED and only marked as already called, but never
unbound. Consequently, the functor object remained allocated for as long as the
event table existed and was only freed with the dialog instance.

Change the logic to destroy the functor object as soon as it was called and is
no longer needed for anything.

This is particularly important when used with C++11 lambdas that capture the
dialog in a wxWindowPtr pointer, because the pointer would be retained forever
otherwise.

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

11 years agoFix crash when auto-sizing a wxDataViewCtrl column.
Vadim Zeitlin [Mon, 30 Sep 2013 23:49:26 +0000 (23:49 +0000)] 
Fix crash when auto-sizing a wxDataViewCtrl column.

The code was confused about the difference between the model and view columns
indices and incorrectly used the former as the latter, which could result in
an out of bound array access.

Closes #15420.

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

11 years agoDo not define __VISUALC__ for Intel C++ compiler under Windows.
Vadim Zeitlin [Mon, 30 Sep 2013 23:49:21 +0000 (23:49 +0000)] 
Do not define __VISUALC__ for Intel C++ compiler under Windows.

This is confusing and makes it more difficult to test for the "real" MSVC,
test for __INTELC__ explicitly wherever needed instead.

Also document __INTELC__ in our list of compilers.

Closes #15359.

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

11 years agoImprove drawing of the tree item buttons in the generic renderer.
Vadim Zeitlin [Mon, 30 Sep 2013 23:49:15 +0000 (23:49 +0000)] 
Improve drawing of the tree item buttons in the generic renderer.

Draw the "-" and "+" signs always properly centered.

Closes #15526.

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

11 years agoMinGW-w64 provides isfinite() in both 32 and 64 bit builds.
Vadim Zeitlin [Mon, 30 Sep 2013 23:49:05 +0000 (23:49 +0000)] 
MinGW-w64 provides isfinite() in both 32 and 64 bit builds.

So use __MINGW64_TOOLCHAIN__ to test for it and not __MINGW64__, which is only
defined in 64 bits.

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

11 years agoDefine __MINGW64_TOOLCHAIN__ and __MINGW32_TOOLCHAIN__ symbols.
Vadim Zeitlin [Mon, 30 Sep 2013 23:49:02 +0000 (23:49 +0000)] 
Define __MINGW64_TOOLCHAIN__ and __MINGW32_TOOLCHAIN__ symbols.

__MINGW64_TOOLCHAIN__ macro is more readable and shorter than the standard
predefined __MINGW64_VERSION_MAJOR and __MINGW32_TOOLCHAIN__ is defined for
the symmetry and also because it will make many tests simpler as we often
need to test not so much for MinGW-w64 for its own sake but rather to disable
the workarounds for MinGW32 when using it.

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

11 years agoPolish translations update from Grzegorz Zlotowicz.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:58 +0000 (23:48 +0000)] 
Polish translations update from Grzegorz Zlotowicz.

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

11 years agoFix problem with COMDLG_FILTERSPEC declaration with MinGW-w64 4.8.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:55 +0000 (23:48 +0000)] 
Fix problem with COMDLG_FILTERSPEC declaration with MinGW-w64 4.8.

Forward declaring as a struct a symbol previously defined as a typedef results
in an error when using MinGW-w64 4.8.1, so forward declare the struct itself
instead.

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

11 years agoDon't check for tr1/type_traits in configure if type_traits was found.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:52 +0000 (23:48 +0000)] 
Don't check for tr1/type_traits in configure if type_traits was found.

This is just an optimization: don't waste time checking for tr1 header if we
already found the standard one that we're going to use if it's available.

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

11 years agoAvoid using wxHtmlTag::HasParam() unnecessarily.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:46 +0000 (23:48 +0000)] 
Avoid using wxHtmlTag::HasParam() unnecessarily.

Use GetParamAsXXX() accessors instead as they combine the calls to HasParam()
and GetParam() and make the code shorter and avoid the duplication of the tag
name.

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

11 years agoStore HTML "id" parameter value in wxHtmlCell.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:41 +0000 (23:48 +0000)] 
Store HTML "id" parameter value in wxHtmlCell.

Pass on the value of the ID to the cell object when adding a new cell.

Closes #15535.

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

11 years agoAdd wxHtmlTag::GetParamAsString() convenience method.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:38 +0000 (23:48 +0000)] 
Add wxHtmlTag::GetParamAsString() convenience method.

This is more convenient to use than HasParam() + GetParam() and also slightly
more efficient as we search for the tag name only once.

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

11 years agoNo changes, just use "@since 3.0" consistently in the documentation.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:34 +0000 (23:48 +0000)] 
No changes, just use "@since 3.0" consistently in the documentation.

This was the only place where "@since 3.0.0" was used, replace it with just
"3.0" for consistency with all the others.

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

11 years agoBrazilian Portuguese translations update from Felipe.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:31 +0000 (23:48 +0000)] 
Brazilian Portuguese translations update from Felipe.

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

11 years agoChinese translations update from Jiawei Huang.
Vadim Zeitlin [Mon, 30 Sep 2013 23:48:28 +0000 (23:48 +0000)] 
Chinese translations update from Jiawei Huang.

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

11 years agoCompilation fix for !wxUSE_OWNER_DRAWN.
Václav Slavík [Mon, 30 Sep 2013 17:12:24 +0000 (17:12 +0000)] 
Compilation fix for !wxUSE_OWNER_DRAWN.

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

11 years agoApplied #15226 with modifications: wxRichTextCtrl: Implement setting properties with...
Julian Smart [Sun, 29 Sep 2013 16:08:03 +0000 (16:08 +0000)] 
Applied #15226 with modifications: wxRichTextCtrl: Implement setting properties with undo for objects e.g. wxRichTextTable (dghart)

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

11 years agoDon't redraw borders for cells that are hidden - fixes drawing glitch in sample
Julian Smart [Sun, 29 Sep 2013 14:01:16 +0000 (14:01 +0000)] 
Don't redraw borders for cells that are hidden - fixes drawing glitch in sample

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

11 years agoAdded wxRichTextTableBlock class to help with table UI operations
Julian Smart [Sun, 29 Sep 2013 13:35:58 +0000 (13:35 +0000)] 
Added wxRichTextTableBlock class to help with table UI operations

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

11 years agoFixed capitalisation
Julian Smart [Sun, 29 Sep 2013 13:11:01 +0000 (13:11 +0000)] 
Fixed capitalisation

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

11 years agoApplied patch #15540: wxRichTextTable: crashes due to an invalid focus object (dghart)
Julian Smart [Sun, 29 Sep 2013 12:58:30 +0000 (12:58 +0000)] 
Applied patch #15540: wxRichTextTable: crashes due to an invalid focus object (dghart)

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

11 years agoApplied #15539: wxRichTextCtrl: demonstrate adding and deleting table rows and column...
Julian Smart [Sun, 29 Sep 2013 12:14:19 +0000 (12:14 +0000)] 
Applied #15539: wxRichTextCtrl: demonstrate adding and deleting table rows and columns in the richtext sample (dghart)

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

11 years agowxRTC: save and load the 'shown' status in case there's a situation where layout...
Julian Smart [Sun, 29 Sep 2013 12:06:17 +0000 (12:06 +0000)] 
wxRTC: save and load the 'shown' status in case there's a situation where layout doesn't restore it

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

11 years agowxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
Julian Smart [Fri, 27 Sep 2013 13:36:46 +0000 (13:36 +0000)] 
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation in command labels; now sends text update event when an object is changed.

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

11 years agoMisc XRC format docs corrections.
Václav Slavík [Thu, 26 Sep 2013 12:55:23 +0000 (12:55 +0000)] 
Misc XRC format docs corrections.

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

11 years agoXRC: make wxStaticText's wrap property a dimension.
Václav Slavík [Thu, 26 Sep 2013 12:55:20 +0000 (12:55 +0000)] 
XRC: make wxStaticText's wrap property a dimension.

Parse it as dimension type (including dlg units) and not just integer.
This is backward compatible.

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

11 years agoXRC: make wxSplitterWindow's sashpos and minpanesize dimensions.
Václav Slavík [Thu, 26 Sep 2013 12:55:17 +0000 (12:55 +0000)] 
XRC: make wxSplitterWindow's sashpos and minpanesize dimensions.

Parse them as dimension type (including dlg units) and not just integers. This is backward compatible.

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

11 years agoCorrected disabling of controls in cell editor.
Julian Smart [Thu, 26 Sep 2013 10:00:50 +0000 (10:00 +0000)] 
Corrected disabling of controls in cell editor.

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

11 years agoalways use hw-accel, fixes #15536, applied with thanks
Stefan Csomor [Thu, 26 Sep 2013 06:31:20 +0000 (06:31 +0000)] 
always use hw-accel, fixes #15536, applied with thanks

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

11 years agoAdded wxRichTextAction::SetOldAndNewObjects for clarity when submitting a wxRICHTEXT_...
Julian Smart [Tue, 24 Sep 2013 12:05:54 +0000 (12:05 +0000)] 
Added wxRichTextAction::SetOldAndNewObjects for clarity when submitting a wxRICHTEXT_CHANGE_OBJECT command.

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

11 years agoavoid calling GetDefaultSize() twice
Paul Cornett [Tue, 24 Sep 2013 05:50:09 +0000 (05:50 +0000)] 
avoid calling GetDefaultSize() twice

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

11 years agoMake wxRichTextRectArray usable by other parts of wxRTC
Julian Smart [Mon, 23 Sep 2013 09:07:16 +0000 (09:07 +0000)] 
Make wxRichTextRectArray usable by other parts of wxRTC

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

11 years agoPartial fix for #15196: wxRichTextCell caret issues (dghart)
Julian Smart [Sun, 22 Sep 2013 20:34:16 +0000 (20:34 +0000)] 
Partial fix for #15196: wxRichTextCell caret issues (dghart)

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

11 years agoAllow absent checkbox when transferring dimension data
Julian Smart [Sun, 22 Sep 2013 20:22:19 +0000 (20:22 +0000)] 
Allow absent checkbox when transferring dimension data

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

11 years agoMake public headers compatible with Objective-C++ with ARC.
Václav Slavík [Sat, 21 Sep 2013 10:11:08 +0000 (10:11 +0000)] 
Make public headers compatible with Objective-C++ with ARC.

OSXGetViewOrWindow() virtual methods were defined in headers and were casting
NSView*/NSWindow* to void*, which the compiler complains about with ARC
enabled. Rather than writing conditional code in the header, move the
implementations into .cpp files. They were virtual anyway, so this is no less
efficient, and doesn't leave any problematic code in public headers.

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

11 years agoRevert "using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere"
Václav Slavík [Sat, 21 Sep 2013 09:28:47 +0000 (09:28 +0000)] 
Revert "using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere"

This reverts commit r74656, because it breaks initialization order by
calling OnInit() too late.  See
https://groups.google.com/d/topic/wx-dev/H5vgc2VO7K4/discussion

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

11 years agoAdd virtual ~wxAnyScrollHelperBase() to fix compiler warning.
Václav Slavík [Sat, 21 Sep 2013 09:28:42 +0000 (09:28 +0000)] 
Add virtual ~wxAnyScrollHelperBase() to fix compiler warning.

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

11 years agoFix wxOSX warnings about int-to-void* casts.
Václav Slavík [Sat, 21 Sep 2013 09:28:39 +0000 (09:28 +0000)] 
Fix wxOSX warnings about int-to-void* casts.

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

11 years agoSet missing Language: headers in PO files.
Václav Slavík [Sat, 21 Sep 2013 09:28:34 +0000 (09:28 +0000)] 
Set missing Language: headers in PO files.

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

11 years agoStandardize Project-Id-Version in PO files.
Václav Slavík [Sat, 21 Sep 2013 09:28:25 +0000 (09:28 +0000)] 
Standardize Project-Id-Version in PO files.

Set it to "wxWidgets 3.0". Add where missing.

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

11 years agoTry loading even English translations if provided.
Václav Slavík [Fri, 20 Sep 2013 17:27:59 +0000 (17:27 +0000)] 
Try loading even English translations if provided.

Doing so has negligible cost and can be useful in some situations (e.g.
when using symbolic msgids despite gettext best practices).

Patch by tmsorensen.

Fixes #15522.

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

11 years agofix vertical mouse wheel event rotation value, sign was reversed in r74805
Paul Cornett [Fri, 20 Sep 2013 15:21:25 +0000 (15:21 +0000)] 
fix vertical mouse wheel event rotation value, sign was reversed in r74805
fixes #15524

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

11 years agoAdded setters for table row and column count
Julian Smart [Fri, 20 Sep 2013 11:34:11 +0000 (11:34 +0000)] 
Added setters for table row and column count

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

11 years agoUpdate OpenVMS makefile
Jouk Jansen [Fri, 20 Sep 2013 06:07:23 +0000 (06:07 +0000)] 
Update OpenVMS makefile

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

11 years agoThe alignment controls are now left-aligned if the floating controls are not shown.
Julian Smart [Thu, 19 Sep 2013 18:23:37 +0000 (18:23 +0000)] 
The alignment controls are now left-aligned if the floating controls are not shown.

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

11 years agoCorrections to border placement
Julian Smart [Thu, 19 Sep 2013 13:14:11 +0000 (13:14 +0000)] 
Corrections to border placement

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

11 years agoSecond part of #15224 fix: AddRows, AddColumns (dghart)
Julian Smart [Thu, 19 Sep 2013 11:09:34 +0000 (11:09 +0000)] 
Second part of #15224 fix: AddRows, AddColumns (dghart)

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

11 years agoFix for #15224: wxRichTextTable: Setting a cell's text colour affects subsequent...
Julian Smart [Thu, 19 Sep 2013 08:38:48 +0000 (08:38 +0000)] 
Fix for #15224: wxRichTextTable: Setting a cell's text colour affects subsequent cells (dghart)

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

11 years agoFix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container...
Julian Smart [Thu, 19 Sep 2013 07:48:22 +0000 (07:48 +0000)] 
Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container (dghart)

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

11 years agofix building with WXWIN_COMPATIBILITY_2_8 == 0
Paul Cornett [Thu, 19 Sep 2013 06:16:34 +0000 (06:16 +0000)] 
fix building with WXWIN_COMPATIBILITY_2_8 == 0
wxPG_EX_DISABLE_TLP_TRACKING does nothing since r61779

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

11 years agofix wxSystemSettings::GetColour() for wxGTK3
Paul Cornett [Thu, 19 Sep 2013 05:33:55 +0000 (05:33 +0000)] 
fix wxSystemSettings::GetColour() for wxGTK3
closes #15519

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

11 years agoAdd missing c_str() call to fix wxGTK ANSI+STL build.
Vadim Zeitlin [Wed, 18 Sep 2013 18:02:25 +0000 (18:02 +0000)] 
Add missing c_str() call to fix wxGTK ANSI+STL build.

Closes #15518.

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