Stefan Csomor
0ff0b78136
making sure we are using correct implementation for shades
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 18:42:34 +00:00
Stefan Csomor
2c31fcd730
adding isFlipped to userpane
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 15:46:39 +00:00
Stefan Csomor
c551dc29e7
try support for native isFlipped usage and coalesce update rects into bounding box by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 11:50:33 +00:00
Vadim Zeitlin
ab67e8874d
Fix wrong tab order in wxAuiNotebook after dragging.
...
Update the tab index correctly to keep tabs list and windows list in sync.
Closes #10848 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 11:33:50 +00:00
Julian Smart
76e36b9452
Fix for bug #14915 - wxRichTextCtrl: Not able to move up to empty first line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 21:31:13 +00:00
Vadim Zeitlin
c9223c4a57
Sort wxPAPER_XXX constants alphabetically in the documentation.
...
This makes it much simpler to find the one you want.
See #14919 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 12:51:21 +00:00
Robin Dunn
deb21d7f0d
Various interface fixes for Phoenix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:04 +00:00
Robin Dunn
42dd5e3b25
Interface fixes for wxGrid classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 07:59:58 +00:00
Vadim Zeitlin
9de31412ed
Add a temporary workaround to make the tests pass.
...
Call SetCLocale() on tests startup to avoid problems with wxDateTime parsing
that happen when the user locale is different from "C" one under Windows.
See #14918 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:35:07 +00:00
Vadim Zeitlin
1f89d869e7
Invalidate wxGrid best size when its associated table changes.
...
The number of grid cells changes too, so the old best size can't be used any
more.
Closes #14761 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:34:49 +00:00
Vadim Zeitlin
8c2bd115c7
Fix libtiff compilation with VC6 after upgrade to 4.0.3.
...
VC6 headers don't define INVALID_SET_FILE_POINTER constant so do it ourselves
if necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:34:26 +00:00
Vadim Zeitlin
de168da1ed
No changes, just improve wxScrolled::EnableScrolling() documentation.
...
Explain that, in spite of its name, this function doesn't disable scrolling
when called with false argument but just changes the mechanism used to
implement it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:34:07 +00:00
Vadim Zeitlin
01936e1d49
Remove unnecessary variable assignment from wxBoxSizer::RecalcSizes().
...
The "delta" variable was assigned a value that was never used afterwards.
Closes #14908 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:33:44 +00:00
Vadim Zeitlin
0ee169da2b
Add wxListCtrl::EnableAlternateRowColours() and SetAlternateRowColour().
...
Add methods to simply enable alternative row background colours in wxListCtrl.
Closes #14618 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:33:23 +00:00
Vadim Zeitlin
87f0b1323b
Don't use "Cancel" button in the about dialog of the listctrl sample.
...
No real changes, just remove the unnecessary button.
See #14618 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:33:04 +00:00
Paul Cornett
76274efd34
revert r73185, it should no longer be needed after r73231
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 05:45:02 +00:00
Paul Cornett
b0d053c1ea
Use client size determined by size-allocate when possible
...
Our client size calculation can be wrong for reasons beyond our control,
notably on Ubuntu 12.04 with overlay scrollbars where the GtkScrolledWindow
"scrollbar-spacing" is wrong. By using the true size from size-allocate
when it becomes available, we can recover from an earlier incorrect client
size calculation. See #14871
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-20 18:46:58 +00:00
Stefan Csomor
833e100f7f
benefit from 10.5+ call HIShapeUnionWithRect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-20 13:00:42 +00:00
Robin Dunn
c6f41dc81e
Add accessors for some of the data members in wxXmlResourceHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 19:27:29 +00:00
Stefan Csomor
ca77701441
activating DrawRectangle optimization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 15:41:44 +00:00
Stefan Csomor
e6c2d88bd0
fixing typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 15:31:57 +00:00
Stefan Csomor
4e07c80645
HIThemeBrushCreateCGColor seems to have become very CPU-expensive, cache the results for better performance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 15:30:40 +00:00
Stefan Csomor
c1c4c9b471
making Xcode builds work against against libtiff, copied over from a console build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 09:58:33 +00:00
Stefan Csomor
0ffa23cc5b
setting offsets for window and client dcs when not in a paint event, see #14904
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 17:59:22 +00:00
Paul Cornett
4ea2d0d573
Fix for toolbars and menus not being disabled on Ubuntu
...
Ubuntu overlay scrollbar changes the GtkWindowGroup for its toplevel, which is
disastrous for modal windows. Put in a hack to detect and undo this.
Fixes #14855
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 07:14:40 +00:00
Stefan Csomor
f666995892
support SDK < 10.6, fixes #14902
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 20:04:57 +00:00
Stefan Csomor
9e1bfb3c2a
supporting private types in DnD on osx_cocoa, fixes #14884
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 16:21:17 +00:00
Vadim Zeitlin
2346ca0853
Fix libtiff compilation with MinGW.
...
At least some versions of MinGW don't define 64 bit integer types resulting in
errors when they're used in libtiff code, so explicitly include basetyps.h to
make sure these types are defined.
Closes #14897 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 12:29:07 +00:00
Stefan Csomor
4ca0bca0f3
avoid double up events for static text, fixes #14902
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 10:42:06 +00:00
Paul Cornett
cbe6a493b6
compute scrollbar spacing the same way GtkScrolledWindow does it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 06:29:54 +00:00
Paul Cornett
ffc28384ca
Get DC size from GDK window if possible, client size can unfortunately be wrong
...
This should fix wxDC::Clear() not clearing the whole window on Ubuntu 12.04 with overlay scrollbars
see #14871
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 06:25:00 +00:00
Robin Dunn
12c6bfab40
Patch from niki@vintech.bg allowing builds for Python 2.5 (using MSVC 7.1) to work again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 02:10:15 +00:00
Paul Cornett
2c64b066ea
decrease number of skipped frames in assert dialog backtrace, 7 is not the minimum, closes #14690
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-13 04:41:52 +00:00
Vadim Zeitlin
011875afad
Brazilian Portuguese translations update from Felipe.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-12 13:52:36 +00:00
Paul Cornett
faad53d187
use correct signature for callback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-11 06:43:19 +00:00
Paul Cornett
26ec6be735
make local functions static
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-11 06:37:14 +00:00
Paul Cornett
3eabbbcc5d
add wrappers to avoid compiling code which will never be used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-11 06:31:23 +00:00
Vadim Zeitlin
9f987630e2
Handle IN_MOVE inotify events better.
...
Set the new path correctly for moved or renamed files.
Closes #14889 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-11 01:32:42 +00:00
Vadim Zeitlin
45b7796de5
Initialize wxRibbonBar::m_help_button_hovered.
...
This variable was never initialized, do it now.
See #14868 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-11 01:32:38 +00:00
Vadim Zeitlin
7c211441f4
Use wxSetWorkingDirectory() instead of chdir().
...
This fixes compilation of wxGTK under Windows after the changes of r72779 and
r72780, where _wchdir() would need to be used but we don't currently have a
wxChdir() CRT function wrapper so use wxSetWorkingDirectory() instead.
Closes #14886 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:41:31 +00:00
Vadim Zeitlin
6a5c9ff8e8
Readded tiffconf.h removed by libtiff 4.0.3 merge.
...
This file is needed by Windows builds.
Should have been part of r73157, see #12301 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:30:37 +00:00
Vadim Zeitlin
8f9acf6cc9
Bakefile updates for libtiff 4.0.3 merge.
...
This should have been part of r73157,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:27:44 +00:00
Vadim Zeitlin
80ed523f33
Merged libtiff 4.0.3 changes into the trunk.
...
This should help with making libtiff work better in 64 bit builds as libtiff 4
is supposed to support them much better.
Closes #12301 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:01:44 +00:00
Robin Dunn
3497ab0e3b
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 21:04:50 +00:00
Vadim Zeitlin
548b4ce1ce
Document wxXmlResourceHandler::GetFloat().
...
Closes #14879 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 13:47:45 +00:00
Vadim Zeitlin
223862cbd3
Also account for EOL chars correctly in wxStyledTextCtrl::GetLineLength().
...
Make GetLineLength() consistent with GetLineText() after the changes of
r73140.
Closes #13646 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 13:27:55 +00:00
Vadim Zeitlin
84c6c2121b
Document wxWindow::Get{Min,Max}{Width,Height}().
...
These methods were not documented and somehow inherited the description of the
first method of the group they were in, which didn't make any sense for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 13:22:28 +00:00
Vadim Zeitlin
adba5bab81
Don't test for key code being valid unnecessarily.
...
The key code was already found to be valid just above, so suppress Coverity
warning about an always true test by not checking it again. This also makes
the code more clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 00:37:38 +00:00
Vadim Zeitlin
b215dafcf1
Remove unnecessary default from a switch statement.
...
Don't check for impossible enum element value, it's better to not have the
default clause at all to get a warning from g++ if this enum ever changes
later. And for now the presence of default results in a warning from Coverity
about unreachable code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 00:37:36 +00:00
Vadim Zeitlin
30915cf22f
Fix copy/paste error in UnsetConstraints().
...
"top" was mistakenly used in the code dealing with "left" constraint.
Thanks to Coverity for finding this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 00:37:33 +00:00