Vadim Zeitlin
66c72081f7
changing text alignment dynamically doesn't always work under XP, recreate the control there too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 15:36:31 +00:00
Václav Slavík
23205be83c
compiled fixes for builds without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 13:42:46 +00:00
Chris Elliott
b2fde0cfed
fix SF bug 1640955
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-23 09:25:53 +00:00
Václav Slavík
0edbcd6041
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:13:15 +00:00
Václav Slavík
c04c7a3d0a
wxDFB: fix rendering artefacts when scrolling wxScrolledWindow that contains other widgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:10:26 +00:00
Václav Slavík
42b0d8b96d
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:04:49 +00:00
Václav Slavík
c3a58b249e
enable wxFontMapper in wxDFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 14:05:07 +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
Vadim Zeitlin
6594faa98e
make wxTextFile work with unseekable files again (patch 1632613, bug 1629581)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:29:12 +00:00
Vadim Zeitlin
5a2d9e121f
reverted last change: wxGTK-specific wxMutextGui code breaks linkage of wxBase programs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 19:53:36 +00:00
Václav Slavík
627ddac99e
compilation fix for !wxUSE_STATBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:27:58 +00:00
Paul Cornett
165d3652ff
use GTK-specific GUI lock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 18:13:34 +00:00
Vadim Zeitlin
9249d38d6e
use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with the user-defined ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:15:54 +00:00
Vadim Zeitlin
fb96cf856e
added wxDateTime::GetDateOnly()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
5541976c17
discard time part of m_date, otherwise comparisons with other dates fail
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:31:05 +00:00
Vadim Zeitlin
c25db58432
honour the drag effect supported by the drag source in wxIDropTarget (Tim Kosse)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 19:02:29 +00:00
Vadim Zeitlin
4d1f840337
added wx/image.h to fix non-PCH compilation after last commit (patch 1635649)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 10:54:40 +00:00
Paul Cornett
a1b289f1f9
don't change wxPRINTER_CANCELLED to wxPRINTER_ERROR, bug #1635284
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 02:23:13 +00:00
Paul Cornett
09a0945522
remove some unneeded includes, clean up gnome force link stuff a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 01:26:05 +00:00
Paul Cornett
3b5d20079c
chain to the polling function GLib was using before we replaced it, eliminating all the poll baggage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-15 00:21:57 +00:00
Vadim Zeitlin
b8508db8b4
create in place edit control with wxTE_PROCESS_ENTER style as otherwise it's not closed on Enter when used inside a panel or a dialog (which uses Enter for dialog navigation) (patch 1630586)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 21:04:27 +00:00
Vadim Zeitlin
0d3997fd6d
corrected drawing of the bitmaps for the disabled menu items (replaces patch 1632891, closes bug 1632888)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:59:17 +00:00
Vadim Zeitlin
4f690a1d5e
don't crash when setting tooltip for a picker without text control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:18:36 +00:00
Václav Slavík
6a6e282245
fixed child windows scrolling to use wxSIZE_ALLOW_MINUS_ONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 21:46:51 +00:00
Robin Dunn
e49426a206
Fix for problem when Realize is re-called on a vertical toolbar, it
...
was making the tools layout horizontally.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:27:27 +00:00
Robin Dunn
7749035c4e
DoGetBestSize fix, the lbWidth was not getting updated because of a
...
misplaced #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:25:21 +00:00
Robin Dunn
f241631e6d
Fix for when only a default dir is given without a default file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:24:19 +00:00
Stefan Csomor
4b6930c813
making sure it is only breaking at newlines for measuring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:00:01 +00:00
Stefan Csomor
5a253c3f0a
using the CF Message box only for non main thread alerts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:22:02 +00:00
Vadim Zeitlin
a8b2285edf
only set cursor immediately in SetCursor() if the mouse is currently inside the window or we capture it (fixes the problem introduced in rev 1.675 while still correcting the original bug that change was done to fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 01:28:14 +00:00