Vadim Zeitlin
2c6d6dfe60
Rename some parameters in wxGrid code to make them more clear.
...
No real changes, just call the variables containing display positions "pos"
and not "line" in wxGridOperations to avoid giving the impression that they
contain indices.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-15 13:33:07 +00:00
Vadim Zeitlin
c0866512a7
Fix crash when creating and quickly destroying a wxTLW in wxGTK.
...
Don't crash in timer callback added to work around broken Ubuntu 11.04 WM,
remove it when the window is being destroyed.
This corrects a crash which happened if a TLW was created and destroyed before
this timer had time to fire under Ubuntu.
Closes #13146 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-15 13:33:02 +00:00
Julian Smart
8c636fd789
Removed header guards
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-15 13:14:41 +00:00
Julian Smart
5219cf0588
Caret dropout fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-15 07:54:41 +00:00
Robin Dunn
888cd68347
wxButtonBase::GetDefaultSize is declared but not implemented in the wxOSX-cocoa port. Add an implementation that uses wxAnyButton::GetDefaultSize.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-14 22:19:09 +00:00
Vadim Zeitlin
b4354db179
Refactor wxButton and wxToggleButton to derive from wxAnyButton.
...
Introduce wxAnyButton class, a common base class for wxButton and
wxToggleButton, allowing to reuse the same implementation for them.
This also allows to implement support for bitmaps in wxToggleButton for all
platforms and make wxBitmapToggleButton a trivial subclass of it everywhere,
similarly to wxBitmapButton and wxButton.
Closes #13198 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-14 13:00:42 +00:00
Stefan Csomor
eaa9e06d92
adding docset processing instructions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-12 03:39:17 +00:00
Stefan Csomor
2db79d106c
adding lighter css variant for xcode docsets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-12 02:47:24 +00:00
Vadim Zeitlin
0f4a54a655
Implement wxDataViewCtrl::SetRowHeight() for wxGTK.
...
Also document that this method can only be used to increase the row height
compared to the default, not to make it smaller.
See #12749 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-11 23:56:44 +00:00
Stefan Csomor
16a7d8a5a5
adding more specific info for docset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-11 15:41:44 +00:00
Stefan Csomor
303d821608
adding implementation for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-10 03:12:58 +00:00
Stefan Csomor
57d3e26697
adding implementation for osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 23:05:52 +00:00
Stefan Csomor
3399af21d1
adding default interpolation enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 23:05:09 +00:00
Stefan Csomor
a173c81340
fixing test, adding minimal docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 21:44:19 +00:00
Stefan Csomor
133cb28b21
adding placeholders for interpolation setting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 21:38:08 +00:00
Stefan Csomor
b58dca4c0f
fixing two warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 01:25:27 +00:00
Stefan Csomor
e5062a3130
fixing memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 01:24:21 +00:00
Stefan Csomor
9d320a7a84
inner layout support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 01:09:33 +00:00
Stefan Csomor
adf264f222
adapting ownership semantics to cocoa convention
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 01:08:43 +00:00
Stefan Csomor
415dfa555a
init pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 01:07:39 +00:00
Stefan Csomor
6a62b2c6ed
better ownership handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:32:27 +00:00
Stefan Csomor
974c115dff
guard against nullptr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:31:05 +00:00
Stefan Csomor
395345de7d
using common colorspace method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:30:26 +00:00
Stefan Csomor
4d3e2dc993
add member for sheetdialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:29:13 +00:00
Stefan Csomor
681bf55c1c
add member for sheetdialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:28:28 +00:00
Stefan Csomor
c2a22141f8
better retain/release semantics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-09 00:24:21 +00:00
Stefan Csomor
668e3f703e
adapting to init pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 23:05:54 +00:00
Stefan Csomor
4892e67d72
adding fallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 23:05:23 +00:00
Stefan Csomor
361937c786
newstate already set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 23:02:25 +00:00
Stefan Csomor
dcc5dc59e2
adding fallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 23:01:53 +00:00
Stefan Csomor
c9e98a88db
making intention clearer by explicit parentheses
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 23:00:36 +00:00
Stefan Csomor
3dc3b2ab56
fixing uninit vars warning and memory errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 22:58:57 +00:00
Stefan Csomor
a985b2c891
adapting to init pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 22:50:28 +00:00
Stefan Csomor
f599a41509
adapting to init pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-08 22:48:29 +00:00
Vadim Zeitlin
bbfd454841
Add wxDataViewCtrl::SetRowHeight() and provide its generic implementation.
...
Allow changing the (fixed) row height without using wxDV_VARIABLE_LINE_HEIGHT
which may slow down the control display too much.
The new method is not implemented for the native GTK and OS X implementations
yet but should be simple to implement there.
See #12749 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 22:49:56 +00:00
Vadim Zeitlin
208f99c3e3
Update status bar fields widths from WM_SIZE handler.
...
Doing it immediately after calling ::SetWindowPos(), as we used to do, didn't
work correctly (presumably because the status bar fields widths were not
updated yet internally) and resulted in not updating the ellipsized fields
values when "Show window contents while dragging" Windows option was off.
Doing it when we get WM_SIZE works in this case too.
Closes #13257 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 22:49:51 +00:00
Vadim Zeitlin
007d2de3c4
Handle colours with alpha channel correctly in wxSVGFileDC.
...
wxColour::GetAsString(wxC2S_HTML_SYNTAX) doesn't accept colours with alpha
channel as alpha is not representable in HTML syntax, so avoid calling this
function with such colours, remove the alpha component in the caller before
using it instead.
Also slightly simplify wxBrushString() and wxPenString() functions code in
wxSVGFileDC implementation.
Closes #13214 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 22:27:35 +00:00
Vadim Zeitlin
48dd005569
Replace more DECLARE_CLASS occurrences with DECLARE_DYNAMIC_CLASS.
...
Correct more mismatches between DECLARE_CLASS and IMPLEMENT_DYNAMIC_CLASS
usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 16:48:36 +00:00
Paul Cornett
9579070b94
avoid direct struct access for GTK3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 16:24:26 +00:00
Vadim Zeitlin
80e2b03182
Use DECLARE_DYNAMIC_CLASS instead of DECLARE_CLASS.
...
Correctly use DECLARE_DYNAMIC_CLASS for the classes that are supposed to be
dynamically creatable as using DECLARE_CLASS doesn't work any longer after the
last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 14:28:55 +00:00
Vadim Zeitlin
ffc13495b2
Make wxDECLARE_CLASS synonym of wxDECLARE_ABSTRACT_CLASS.
...
Previously wxDECLARE_CLASS was a synonym for wxDECLARE_DYNAMIC_CLASS which was
inconsistent with its documentation and wxIMPLEMENT_CLASS that was the same as
wxIMPLEMENT_ABSTRACT_CLASS.
Resolve this in the most backwards compatible and also arguably logical way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 13:06:17 +00:00
Vadim Zeitlin
73423e290f
Vietnamese translation update from Trần Ngọc Quân.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-07 13:06:14 +00:00
Stefan Csomor
ab332136e4
using higher abstraction to allow for optimized implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 23:23:35 +00:00
Stefan Csomor
2bc4cc1ead
speeding up rectangle drawing by using specific methods, needs 40% less time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 23:15:27 +00:00
Stefan Csomor
a3c222122d
10.4 compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 21:13:33 +00:00
Stefan Csomor
592a3c6eb9
reverting to idle handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 21:12:14 +00:00
Stefan Csomor
7e3d8eabcf
turning off unconditional usage of filter-delegate, using native capabilities under 10.6, proper handling of empty default directories for dialogs by passing in nil to native calls,
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 19:19:42 +00:00
Stefan Csomor
0aff141c51
supporting nested window disablers on the same window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 16:32:41 +00:00
Stefan Csomor
d4a4ef9074
supporting native background color on wxWindow descendants that are not themselves native controls, like eg wxPanel , see #13032
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-06 02:28:56 +00:00
Stefan Csomor
776036d671
supporting native background on nonownedwindow, see #13032
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-05 16:08:12 +00:00