Włodzimierz Skiba
0a19929958
Patch #949276 : Less agresive strings test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 07:55:13 +00:00
Włodzimierz Skiba
71572a7472
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 07:32:13 +00:00
Włodzimierz Skiba
e69ba9cb20
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 07:27:11 +00:00
Robin Dunn
fdec2c0554
fixed wxGetKeyState to get current status of non-togle keys, and to
...
correctly test for the toggles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:36:36 +00:00
Robin Dunn
89c876de1c
wxGTK now uses gtk_init_check so wxPython can raise an exception if
...
there is no DISPLAY available or other initializaion problem.
wx.GetKeyState now has an implementation for wxGTK and is able to
detect the up/down or toggle state of modifier and toggle keys.
The LC_NUMERIC locale is now reset back to "C" (compatibility) when
running on wxGTK to work around the fact that GTK requires the locale
to be set to the system settings but Python depends on LC_NUMERIC
remaining compatible with "C".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:23:50 +00:00
Robin Dunn
c156411a08
Use gtk_init_check instead of gtk_init so that we can racefully exit
...
(i.e. raise an exception in wxPython) instead of just terminating the
app.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:14:10 +00:00
Robin Dunn
97698dc4fe
Implemented wxGetKeyState for wxGTK (and wxX11 too, but I havn't
...
tested it there.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 23:37:20 +00:00
Julian Smart
ef0368834f
Commented out code that seems to produce choice/combobox height problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 20:09:19 +00:00
Włodzimierz Skiba
97cb61af98
Part of patch #957440 : Solaris fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:47:23 +00:00
Stefan Csomor
7741dfb12e
correcting system version compare
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:44:14 +00:00
Stefan Csomor
64fec3ab27
factoring common code out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:42:38 +00:00
Stefan Csomor
5cd092166b
sometimes mutexes are used before our module is initialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:39:39 +00:00
Włodzimierz Skiba
9013f51341
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 17:23:15 +00:00
Włodzimierz Skiba
9da8feef23
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 17:16:47 +00:00
Włodzimierz Skiba
1550e40204
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 17:02:02 +00:00
Stefan Csomor
514982b2d8
first implementation of carbon timers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 15:54:09 +00:00
Stefan Csomor
93b14e8026
a few corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 15:21:52 +00:00
Włodzimierz Skiba
57eaf1ec46
-1->wxID_ANY replacement.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 11:01:47 +00:00
Włodzimierz Skiba
1cfac5b878
Centralized wxDefaultSize/wxDefaultPosition. -1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 11:00:13 +00:00
Włodzimierz Skiba
27301f2690
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 10:47:31 +00:00
Włodzimierz Skiba
11180f777a
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 10:35:35 +00:00
Vadim Zeitlin
4dd9ae575f
really fixed handling of non-text cells in justified paragraphs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 00:08:15 +00:00
Dimitri Schoolwerth
6c43b66ed0
applied patch #940914 "Minor cleaning of warnings in contrib tree"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 23:01:08 +00:00
Dimitri Schoolwerth
003e6c07cc
restored mask copying code when converting a wxBitmap to a wxImage (wxMSW only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 22:22:48 +00:00
Włodzimierz Skiba
ee1a622dd0
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 16:24:20 +00:00
Stefan Csomor
5efd525f9f
defer Terminating the Task until it is really done
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 14:38:12 +00:00
Włodzimierz Skiba
a7a5165ca7
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 13:28:13 +00:00
Włodzimierz Skiba
d53c798cf9
TRUE->true, FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:39:44 +00:00
Włodzimierz Skiba
49f6740f7b
Centralized wxDefaultPosition and TRUE->true, FALSE->false replacements. After previous change 'xcnt' is not used at all.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:36:50 +00:00
Włodzimierz Skiba
abb74e0f76
Extended patch #942204 , centralized wxDefaultSize, wxDefaultPosition and wxID_ANY values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:19:48 +00:00
Włodzimierz Skiba
c751d26abc
Centralized wxDefaultSize & wxDefaultPosition values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 09:12:08 +00:00
Kevin Ollivier
2c990ba6d4
Initial import of wxWebKitCtrl sources and htmlctrl (right now wxWebKit) sample.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 02:20:53 +00:00
Vadim Zeitlin
a1ae1090ee
don't distribute extra space between 0 width cells in justified paragraphs (this looks visually wrong)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 21:55:29 +00:00
Vadim Zeitlin
fef7400f9c
wxVListBox doesn't handle (at least horz) resizing properly without wxFULL_REPAINT_ON_RESIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 21:31:33 +00:00
Robin Dunn
7539ba5615
Add wxFULL_REPAINT_ON_RESIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 20:14:57 +00:00
Robin Dunn
2f1189cf1a
More test cases and handle __doc__ == None
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 20:14:14 +00:00
Robin Dunn
5b65f1364d
If the threads module hasn't been initialized yet then we can assume
...
the IsMain == true. This allows wxASSERTs that happen before the
wxApp is created (as can easily happen in wxPython unfortunatly) to
behave normally instead of just calling wxTrap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:59:18 +00:00
Robin Dunn
42cfa1842f
Call SetSize for explicit sizees too in case it wasn't called before
...
earlier in the Create process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:30:31 +00:00
Włodzimierz Skiba
05d89f2c0b
Patch 950002 after agreement from Markus Sinner
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 17:42:22 +00:00
Włodzimierz Skiba
3fb7939695
Code cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 17:17:32 +00:00
Julian Smart
adb0baf7d4
Set fields count even if don't have widthds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 16:03:01 +00:00
Włodzimierz Skiba
3660be5d50
Patch #953165 , Bug #821657 : wxHIDE_READONLY no more important. Blind change reported to Stefan Neis
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:12:36 +00:00
Włodzimierz Skiba
21416306cb
Patch #953165 , Bug #821657 : wxHIDE_READONLY no more important.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:04:41 +00:00
Włodzimierz Skiba
ecd7e67e49
Patch #940808 : Updated list of contributors according to the list available at www.wxwidgets.org/whowhat.htm.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:42:57 +00:00
Włodzimierz Skiba
7608a6837f
Limited setup.h shouldn't break building. Helpful in bringing new ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:29:55 +00:00
Włodzimierz Skiba
095d49f2fa
Fix to wxChar* access.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:22:34 +00:00
Włodzimierz Skiba
b6e4e44a15
wxSafeShowMessage needs wxString regardles wxUSE_LOG.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:15:58 +00:00
Włodzimierz Skiba
1242c2d976
Menu sample is helpful in bringing new port and should work in limited setup.h. My first wxW commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 11:52:25 +00:00
Robin Dunn
d0770e4a91
Fix DoGetBestSize when wxCB_READONLY is used. The best size of the
...
choice shoudl not be truncated in this case since there isn't a
textctrl in this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 06:48:02 +00:00
George Tasker
9b12bd993b
wxUSE_NEW_GRID changed to wxUSE_GRID to reflect changes in wxWidgets.
...
Diagnostics output cleaned up
Unicode build fixes when building in wxDbGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 02:43:53 +00:00