Julian Smart
09e161721b
Reverted renderer changes and just use window variant within renderer functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Julian Smart
8dfd2d0aad
Added control size constants to renderer to allow component drawing to match the
...
window variant, initially on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:18:43 +00:00
Julian Smart
869d741e0b
Added missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:48:27 +00:00
Vadim Zeitlin
872ff793e6
added dllexport/import declarations for wxRunningEventLoopCount to fix linking in DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 02:32:48 +00:00
Vadim Zeitlin
484f1362b2
update wxChoice value when SetSelection() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:43:03 +00:00
Vadim Zeitlin
bdcb00e8ec
fix compilation after the last change in msw/thread.cpp: we can't use wxEventLoop from there; use the hack described at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/83190 instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:30:34 +00:00
Julian Smart
bacea03059
Added flag for removing attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Julian Smart
11ab3d4687
Removed unnecessary assignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:21:42 +00:00
Robin Dunn
9358d3e22f
Allow wxWANTS_CHARS to be effective on native controls too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:15:22 +00:00
Robin Dunn
0711a2d38c
Add wxHL_* styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:14:08 +00:00
Robin Dunn
c7ffa7e49f
Backport Mac optimization to always use Refresh instead of Update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:12:49 +00:00
Włodzimierz Skiba
53ab8e0d5f
Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 12:26:33 +00:00
Julian Smart
745cf1fff9
Backported corrections to head
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 08:47:45 +00:00
Robin Dunn
be62fdc518
backport from HEAD: don't assert about font face errors, just log it
...
and use the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 22:01:44 +00:00
Robin Dunn
4582da584a
backport from HEAD:properly clip the area between the scrollbars if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 22:00:50 +00:00
Julian Smart
dde243668f
Avoid triggering false update event when setting the initial range
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:40:55 +00:00
Julian Smart
69e05a2e97
Restored drag position mysteriously removed in revision 1.233
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 14:14:46 +00:00
Julian Smart
4642e25987
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 08:45:15 +00:00
Vadim Zeitlin
fa38bddf76
fix assert when the control doesn't have a valid date initially (bug 1648192)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:41:54 +00:00
Vadim Zeitlin
f30083b960
don't wait for Windows messages in WaitForThread() if we don't dispatch events (should fix the bugs 1523302 and 1650795)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:22:22 +00:00
Robin Dunn
8aaba8af80
Reset g_lastMouseEvent after processing the mouse button release event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:54:19 +00:00
Robin Dunn
b80e33a799
Don't capture the mouse until after we're sure we're not sending
...
wxEVT_GRID_CELL_BEGIN_DRAG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:52:01 +00:00
Vadim Zeitlin
8aaf987c83
use wxObject copy ctor, not default ctor, in wxEvent copy ctor (backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:10:25 +00:00
Julian Smart
4ea7392787
Added extra hit test style for more accurate reporting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-28 16:57:07 +00:00
Robin Dunn
69d4bbb974
Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:35:07 +00:00
Robin Dunn
d4aca4baf0
Use ChangeValue instead of SetValue when changing the DescriptiveText
...
in order to not generate unexpected EVT_TEXT events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:04:44 +00:00
Vadim Zeitlin
0fac79547e
changing text alignment dynamically doesn't always work under XP, recreate the control there too (backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 15:39:58 +00:00
Chris Elliott
3e6f2f98a1
fix SF bug 1640955
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-23 09:06:42 +00:00
Bryan Petty
e5ab3bbc9c
This commit was manufactured by cvs2svn to create branch
...
'WX_2_8_BRANCH'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 21:46:14 +00:00
Stefan Neis
a7dde52f0a
Improve resetting table via SetTable (extended version of patch #1636377 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 22:39:56 +00:00
Robin Dunn
5712281c5d
Return an empty string from wxDataFormat::GetId if there was an error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:58:05 +00:00
Robin Dunn
68585e1770
Add some wxCHECK_MSG's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:53:42 +00:00
Robin Dunn
4aab34290a
Return an empty string from GetValue if the textctrl is set to the
...
descriptive text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:47:33 +00:00
Robin Dunn
f24b783af3
Revert menus and toolbars to using wxNewId() too since their IDs can't
...
be negative either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 06:43:59 +00:00
Paul Cornett
6d727f6c10
expose handlers are supposed to return a gboolean;
...
false may be correct, at least it's not random
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:58:53 +00:00
Vadim Zeitlin
5f28de16f3
fix infinite recursion when processing navigation keys in panels containing book controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:21:45 +00:00
Vadim Zeitlin
0fdd3cc881
reverted last commit, using result of NewControlId() when creating the control (instead of wxID_ANY) results in an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 01:01:39 +00:00
Vadim Zeitlin
447325a44f
use wxID_ANY for internal controller control instead of wxID_CHOICE/LIST/TOOLBAR/TREEBOOKTREEVIEW; this fixes asserts about using negative ids after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-21 00:52:05 +00:00
Vadim Zeitlin
3aba082d50
don't crash in dtor if the X11 window hadn't been created (patch 1640153)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:32:18 +00:00
Vadim Zeitlin
fc9f11cc6f
name user config file appname.conf when it's locayed in ~/.appname by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:15:57 +00:00
Vadim Zeitlin
869c929083
set command int (indicating whether the item is checked) correctly for the menu events (bug 1639891)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:13:52 +00:00
Robin Dunn
67879c5b41
Use float-on-parent frames for the popups if wxPopupWindow is not available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:26:34 +00:00
Robin Dunn
a0232aa520
Added support for the wxFRAME_FLOAT_ON_PARENT style
...
Also add a mode for the wxPOPUP_WINDOW style as a temporary hack to
make it easier using a wxFrame as a replacement for wxPopupWindow.
See how it is used in wxStyledTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:23:43 +00:00
Václav Slavík
01ad5e43bf
fixed typo in code for setting alternative locale name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 23:25:39 +00:00
Robin Dunn
6646ca90e8
Added wxSearchCtrl::[Get|Set]DescriptiveText
...
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
04af2f5ce3
added wxCONFIG_USE_SUBDIR flag to wxFileConfig (patch 1620876)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 22:38:21 +00:00
Paul Cornett
49f29fbe2c
revert last, GUI mutex isn't GUI-only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:56:51 +00:00
Robin Dunn
1fe8ec6d3d
Use kControlContentIconRef when recreating the tool for toggled state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:01 +00:00
Vadim Zeitlin
0f0298b10c
added wxCSConv::IsOk() (patch 1637944)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Vadim Zeitlin
646c7e13ea
corrected VC warning about possibly uninitialized variable in the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:37:12 +00:00