Commit Graph

24768 Commits

Author SHA1 Message Date
Vadim Zeitlin
1892d641c6 mention that Check() doesn't work before the item is attached to a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 21:54:00 +00:00
Robin Dunn
ef5eca7acc Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 20:14:56 +00:00
Vadim Zeitlin
9a6bc6560b keep m_value in sync with real combobox value (set it initially and update it correctly in CBN_EDITCHANGE handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 19:51:39 +00:00
Robin Dunn
162662e91c Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:33:07 +00:00
Robin Dunn
ae601e32a8 Point x,y fixes from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:21:57 +00:00
Vadim Zeitlin
ccbc8038e6 added wxSizerItem::Init()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:29:15 +00:00
Vadim Zeitlin
e245458872 active mode support for wxFTP (extremely heavily modified patch 1006252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:24:49 +00:00
Vadim Zeitlin
6adbb0bf6e oops, compilation fix after moving code around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:23:13 +00:00
Vadim Zeitlin
db7c5931ed use 4K buffer instead of reading characters one by one in ReadLine()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:21:56 +00:00
Chris Elliott
1a838ff58b fix compile break for unknown FLASHWINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:16:37 +00:00
Václav Slavík
f5de33e90f moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 13:21:57 +00:00
Václav Slavík
7021360ad7 fixed corrupted file, checked in as text file now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 13:03:32 +00:00
Vadim Zeitlin
0a7fd06a09 removed unneeded (after patch 1027243) disable.bmp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:36:59 +00:00
Vadim Zeitlin
d50dbf7c6a construct brush used for painting disabled bitmap buttons dynamically (heavily modified patch 1027243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:34:45 +00:00
Vadim Zeitlin
8b573fb839 fixed crash when closing window that contains STC (patch 1017268)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:09:12 +00:00
Vadim Zeitlin
6d20f7ae50 fixed signature of wxTimerProc to be conformant to what Windows expects it to be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:54:21 +00:00
Vadim Zeitlin
b521a84a30 moved GTK headers needed by wxUniv to GTK_LOWLEVEL_HDR from GTK_HDR (should fix 1016249)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:34:52 +00:00
Vadim Zeitlin
6e2fef031b fixed SetWindowStyleFlag() to not remove WS_VISIBLE; also refresh the control automatically (closes bug 1019440)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:03:24 +00:00
Vadim Zeitlin
494ab5def0 added test for toggling wxLC_[HV]RULES styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 11:01:00 +00:00
Vadim Zeitlin
c9cb79cbd6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 09:59:01 +00:00
Vadim Zeitlin
71c749e1d2 added GetMenu() (closes bug 1026662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 09:53:20 +00:00
Vadim Zeitlin
f03e9ae7a7 replaced wxLogLastError with an assert when checking an item not attached to a menu (see bug 1030141)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 09:46:02 +00:00
Vadim Zeitlin
55069f24fa compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 09:27:11 +00:00
Václav Slavík
a1e4ec8731 moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 08:53:16 +00:00
Václav Slavík
a6c23e02f5 moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 08:19:33 +00:00
Włodzimierz Skiba
4e32eea148 Source cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 22:23:59 +00:00
Vadim Zeitlin
600902562d added possibility to specify printer bin (patch 910272)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 22:20:10 +00:00
Vadim Zeitlin
d79c8ea96f do not call CopyIcon() in CloneRefData(), HICON is going to be overwritten or invalidated anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 22:09:23 +00:00
Vadim Zeitlin
e5544e77ec rewrote some sizer code using wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 21:44:00 +00:00
Vadim Zeitlin
5f813ad662 added wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 21:42:38 +00:00
Vadim Zeitlin
f938a756a1 compilation fix for wxUSE_THREADS == 0 && __WXDEBUG__ (replaces patch 1025268)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 19:26:32 +00:00
Vadim Zeitlin
1a83b9bd10 fixed rounding errors in variable status bar panes widths computation (patch 1030021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 19:12:41 +00:00
Włodzimierz Skiba
566a06e8a5 Notebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook and wxListbook without need of recompilation. User interface moved from buttons to menus in order to work with limited devices (lack of button control in Smartphones). Added presentation of default orientation in controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 18:20:08 +00:00
Włodzimierz Skiba
f644b28c11 Source cleaning: whitespaces, -1/wxID_ANY/wxNOT_FOUND, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:57:44 +00:00
Włodzimierz Skiba
9133965ef5 Notebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook and wxListbook without need of recompilation. User interface moved from buttons to menus in order to work with limited devices (lack of button control in Smartphones). Added presentation of default orientation in controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:39:53 +00:00
Włodzimierz Skiba
bb08a4a194 wxChoicebook follows wxListBook internal changes. Styles centralized for all wxBookCtrls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:24:34 +00:00
Robin Dunn
5dd0f8257c Correct indentation and Snap calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:29:43 +00:00
Robin Dunn
558d682c9e Append --> append
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:27:38 +00:00
Vadim Zeitlin
8e32ea1c8d made all Add/Insert/Prepend methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:06:53 +00:00
Vadim Zeitlin
436ae7cf35 forward all wxSizer::Add/Prepend/Insert() to a virtual Insert(wxSizerItem) function, all the others made non virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 13:25:20 +00:00
Vadim Zeitlin
4dddb8a2dd fixed gcc warnings about not calling base class ctor explicitly in copy ctors (patch 1028986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:36:12 +00:00
Vadim Zeitlin
e1ff932979 fix for crash on 64 bit platforms (patch 1028942)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:34:09 +00:00
Vadim Zeitlin
d6e6a35c80 use wxFputs(), not fputs(), in Unicode mode under Unix too (modified patch 1017940)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:31:18 +00:00
Vadim Zeitlin
8318935126 don't force __WXMOTIF__ definition under HP-UX (patch 1017801)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:27:09 +00:00
Vadim Zeitlin
17376dc37e make the label window visible (patch 1013447)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:25:02 +00:00
Vadim Zeitlin
33ebfc3b9b made wxListbook events more consistent with wxNotebook ones (patch 1001271)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:14:34 +00:00
Vadim Zeitlin
627b2b2a0d fix for wxJoystick when not calling SetCapture() (patch 1000685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:10:34 +00:00
Vadim Zeitlin
837adaa922 don't assert if Update(m_maximum) is called twice (replaces patch 995186)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:06:55 +00:00
Vadim Zeitlin
2c5ef4e2cb smoother time estimation updates in wxProgressDialog (patch 992813)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:04:38 +00:00
Vadim Zeitlin
9b16ffef92 more 'realistic' progress dialog test (part of patch 992813)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 21:57:17 +00:00