Commit Graph

14647 Commits

Author SHA1 Message Date
Vadim Zeitlin
1cbee0b42c the app doesn't exit any more if a dialog is shown (and destroyed) while
the flow of control is still in OnInit()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:42:07 +00:00
Vadim Zeitlin
62b77e42be some old minor doc fixes I forgot to commit somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:38:39 +00:00
Vadim Zeitlin
b79a8705e6 added wxList::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 19:38:46 +00:00
Vadim Zeitlin
57f2b902bc fixed (and slightly cleant up) wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 17:55:03 +00:00
Vadim Zeitlin
1e023926ec fixed a harmless warning (patch 595096) and added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 17:47:13 +00:00
Stefan Csomor
2fca5a0004 (hopefully) workaround for a carbon bug not always setting the modifiers event record field.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 13:28:48 +00:00
Robin Dunn
aaad759f90 Allow AddWindow and RemoveWindow to be overridden in classes derived
in Python


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:26:42 +00:00
Robin Dunn
a9f4542f8a Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:45 +00:00
Robin Dunn
0b190ffcee Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 23:25:06 +00:00
Vadim Zeitlin
110d05999f fixed the paths of the theme files in the VC++ wxUniv project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 22:29:58 +00:00
Stefan Csomor
a9169c1bd3 added key code fix to carbon event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:46:34 +00:00
Robin Dunn
ad9f1aec63 Fixed wxMSW's EVT_CHAR so it conforms to the docs and also what wxGTK
does already.  IOW, Ctrl-C should result in keycode == 3, not 99.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 21:22:43 +00:00
Václav Slavík
db70a2f20a define wxART_* constanst in way that will make adding XRC support easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 20:04:18 +00:00
Stefan Csomor
b5a8b32f50 fix when not having precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 19:00:05 +00:00
Stefan Csomor
8095ef23e7 attempt to bring event system in synch with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb separated modifier keys handling in order to distinct key/up down events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Vadim Zeitlin
8dcfd2f963 small fix to reduce flicker slightly while dragging the sash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 15:10:30 +00:00
Vadim Zeitlin
dd81d20292 added a 1 line script to generate the tags file for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 15:04:04 +00:00
Stefan Csomor
06e8a59de3 added creation of dialog - perhaps needed for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 13:04:39 +00:00
Stefan Csomor
1bab9242a9 added creation of dialog - perhaps needed for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 13:01:05 +00:00
Stefan Csomor
e466fe5f4d cleanup code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 12:58:52 +00:00
Václav Slavík
b8b8c49b54 Python support in wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 11:02:39 +00:00
Robin Dunn
afcb7fb8de Put a panel under the colored windows so wxGTK's notebook doesn't
munge the bg color


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 00:29:13 +00:00
Robin Dunn
eb0f373c99 Fixes and other changes to the demo and some library modules so they
work better (or at all) on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:59:08 +00:00
Robin Dunn
c50c32efd1 Changed style so it looks good everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:25:49 +00:00
Vadim Zeitlin
74cf9763b4 Fixed size buffers are not a good thing. Period.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:16:25 +00:00
Robin Dunn
f0a0d77e35 Use a better index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:16:20 +00:00
Robin Dunn
3b86714961 Added a sample to the demo that catches various key events and
displays the details of the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:12:25 +00:00
Václav Slavík
f09359cf1b fixed pangoft2 check: moved outsided cached block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:10:26 +00:00
Václav Slavík
ab217dba91 reverted previous checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:09:40 +00:00
Václav Slavík
83afe21166 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:09:33 +00:00
Vadim Zeitlin
aa4b7ef978 tidied up patch 583937 (wxClassInfo dtor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 22:37:41 +00:00
Robert Roebling
b15ed74753 New GTK 2.0 Update() code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:59:05 +00:00
Robert Roebling
331a0b6b7a New code for Update() under GTK 2.0. Added
native GdkRegion() constructor to wxRegion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:58:23 +00:00
Robert Roebling
6c2019b942 Minor correction to GetTextExtent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:56:40 +00:00
Robert Roebling
02c0348e97 Forgot Unicode conversion in wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 20:37:00 +00:00
Robert Roebling
0c15fcc814 This way strconv copmiles again. I don't think
this is the intended use of ICONV_CONST, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 19:55:14 +00:00
Vadim Zeitlin
982f23fd00 better use strncpy() than strncat() with uninitialized buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 19:40:41 +00:00
Robert Roebling
48d011c896 Implemented GetTextExtent() for GTK 2.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 17:23:20 +00:00
Vadim Zeitlin
5c0a20c393 minor fixes:
1. removed "We already do it" as "We" is not a valid shell command :-)
2. define _GNU_SOURCE in setup.h and not in the compiler flags
3. allow to build with GTK2 without pangoft2 (and without printing then)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:26:31 +00:00
Stefan Csomor
7e2eb7107d added new method MacSetupCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:17:56 +00:00
Vadim Zeitlin
c010d6a985 compilation fix for wxGTK (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 11:45:56 +00:00
Stefan Csomor
c5bdc14fd6 corrected BestSize algorithm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 09:51:13 +00:00
Stefan Csomor
c1cddfe88d added missing wxMacPortSetter helper(this) calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 09:14:48 +00:00
Stefan Csomor
467e3168b3 all controls use 32 bit values now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 08:50:41 +00:00
Stefan Csomor
0f4930939e corrected internal window position after a zoom operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 06:55:48 +00:00
Václav Slavík
579d81381e added pangoft2 check to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:13:21 +00:00
Václav Slavík
28a663e685 seems I forgot to check in these changes to tex2rtf packaging scripts...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 22:08:05 +00:00
Robin Dunn
383ea3d026 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 21:56:11 +00:00
Julian Smart
da1158bb91 'if' commented out by JACS on behalf
of Hans Van Leemputten <Hansvl@softhome.net> who
points out that UpdateSpinBtn should always be called,
to ensure m_lastVisible is up to date.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 21:41:45 +00:00