Commit Graph

22998 Commits

Author SHA1 Message Date
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
George Tasker
df16c649d2 grid/dbgrid was not getting built for inclusion with this project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 02:40:04 +00:00
George Tasker
2cb4351487 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 01:55:15 +00:00
George Tasker
6644cbe7fb lastChar was defined as a char when it should have been an int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 01:50:13 +00:00
Stefan Csomor
56413ebff7 calling FormatV seems to be correct, as we are already passing a va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 20:17:47 +00:00
Robin Dunn
5e4ca4a837 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:22:49 +00:00
Robin Dunn
b7aef85882 Removed calls to wx.InitAllImageHandlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:21:56 +00:00
Robin Dunn
d1e0545303 Replaced wx/lib/pubsub.py with a version that uses weak references to
track the subscribers.  Thanks go to Oliver Schoenborn and Robb
Shecter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:20:49 +00:00
Robin Dunn
6d2e144a7c Subindent support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:20:00 +00:00
Robin Dunn
e3cd61bb6a Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:17:41 +00:00
Robin Dunn
a31507415d wx.InitAllImageHandlers is now an empty function that does nothing but
exist for backwards compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:16:17 +00:00
Robin Dunn
571d14b262 wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
layout fixes to that file, removed wxMac specific parts from the
generic wxSpinCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:14:38 +00:00
Dimitri Schoolwerth
75338075d5 re-added filter (type-popup) support (lost after introducing long filename support, patch #846732)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 18:37:39 +00:00
Julian Smart
fd9e9adb16 Check for empty "widths"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 17:02:59 +00:00
Dimitri Schoolwerth
64179ebc42 added missing include required for CW8 Carbon compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 16:16:24 +00:00
Stefan Csomor
b310cebd71 adding a few methods for selection handling in native combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 04:57:53 +00:00
Stefan Csomor
ed197fcf15 adding MPYield after releasing constructs like critical regions etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 19:32:01 +00:00
Julian Smart
1a03b3e25a Don't call SetItemCmd for WXK_UP or WXK_RIGHT since these values
have special significance, and cause indentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 18:11:21 +00:00
Stefan Neis
45c6f72480 Fixed Cut&Waste error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 17:35:05 +00:00
Stefan Neis
0ed330b47a For OS/2 PM builds, check for type SPBCDATA in system headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 13:12:58 +00:00
Stefan Neis
337a3714b6 Work-around for compilation problems on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 12:12:48 +00:00
Stefan Neis
a9c0e55977 Updated to intermediate version which should work with current bakefile status.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 10:34:49 +00:00
Stefan Csomor
46cc7c4e64 adapting for dual implementation native and composited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 09:03:38 +00:00
Stefan Csomor
9a159a1da1 adapting for dual implementation native and composited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 06:54:25 +00:00
Stefan Csomor
e50eb9176e added the correct spinctrl source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 06:49:16 +00:00
Stefan Csomor
881b5a06e2 adding pthreads mutex to possible wxMutex implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:48:27 +00:00
Stefan Csomor
9cc64be1d3 using MPSleep also for non Darwin Targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:46:53 +00:00