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
Stefan Csomor
203ec4242b
adding another assert for tracking modalSession problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-05 15:32:50 +00:00
Julian Smart
45791d3c21
Removed erroneous second reference to status bar height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-03 17:18:35 +00:00
Stefan Csomor
d1fc95780b
allowing more system keys in fullscreen mode, properly taking framestyle into account
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-03 09:15:15 +00:00
Stefan Csomor
65e3da1909
first implementation for state on custom renderer, see #12890
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-02 09:25:11 +00:00
Stefan Csomor
cc71017142
fixes #12867
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-02 08:36:57 +00:00
Stefan Csomor
8a07956565
reactivate commented out method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-02 08:19:16 +00:00
Stefan Csomor
94156c296f
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-02 08:18:11 +00:00
Vadim Zeitlin
7cc84a7322
No changes, just avoid unused parameters warnings.
...
Wrap parameters of the stub implementation of the newly added StartEditor() in
WXUNUSED().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-01 22:58:05 +00:00
Stefan Csomor
07edda049f
first stab at supporting custom renderers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-01 20:05:03 +00:00
Robin Dunn
eeea3b039e
Virtualize StartEditor and add implementations for the ports that can do it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-31 19:36:47 +00:00
Robin Dunn
9f2b6b31b7
Build fixes for using Cairo on MSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-31 19:16:55 +00:00
Paul Cornett
769c3372a2
fix memory leak in wxScreenDC, fixes #13249
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-31 17:16:53 +00:00
Stefan Csomor
40a35c1f87
making sure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-31 08:09:18 +00:00
Vadim Zeitlin
1ee1662007
Free calloc()'d pointer correctly in wxFSWatchEntryMSW.
...
OVERLAPPED struct was allocated using calloc() but deleted later. Fix this by
deallocating it with free() instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-28 19:35:13 +00:00
Dimitri Schoolwerth
ff5bf31cb1
Fixed saving GIFs on big-endian architectures.
...
Word (16 bits) values were written in the wrong order resulting in invalid GIF files on for example PowerPC machines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-27 12:25:25 +00:00
Vadim Zeitlin
2f5dec2e52
Use #ifdef, not #if, to check for __WXGTK26__ symbol.
...
This fixes gcc warning given if __WXGTK26__ is not defined (which almost never
happens nowadays but still).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-27 09:46:27 +00:00
Stefan Csomor
2077a6ad23
using systemui for full screen to allow modal dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-25 11:26:47 +00:00
Vadim Zeitlin
6dfd1add4a
Correct the picker button best size computation.
...
Fix the typo in the changes of r67763.
See #13232 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-24 21:19:35 +00:00
Stefan Csomor
0f27b6637a
guard against NULL textctrl, fixes #13247
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-24 17:38:03 +00:00
Vadim Zeitlin
01456a3fa3
Correct type MSVCProjectBuilder in the build script.
...
This prevented MSVC version detection from environment variables from working.
Closes #13243 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 23:20:18 +00:00
Vadim Zeitlin
218697e27b
Don't use native MSW wxHyperlinkCtrl implementation in wxUniv.
...
Move src/msw/hyperlink.cpp and include/wx/msw/hyperlink.h to
ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR respectively to ensure
that these files are not used in wxUniv build that uses its own, generic,
versions.
This should fix wxUniv/MSW build as the native files didn't even compile with
wxUniv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 15:26:42 +00:00
Vadim Zeitlin
2e103d05f1
Rebake after the addition of more richtext headers.
...
The project files haven't been updated after the last files.bkl modification,
do it now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 15:26:38 +00:00
Vadim Zeitlin
bf0f3b269f
Add a trivial benchmark for wxDateTime::ParseDate().
...
Add a test to check the performance of this method.
See #13242 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-23 11:06:48 +00:00
Vadim Zeitlin
979fa8c2ad
Italian translations update from Stefano <l.stickell@@yahoo.it>.
...
Minor updates to the translations themselves.
Also changed the charset to UTF-8 from Latin-1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-22 10:53:10 +00:00