Robin Dunn
f454e36230
Add flush() to PyOnDemandOutputWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:33 +00:00
Robin Dunn
edf3b4dcba
override GetLabe/SetLabel as on wxMac it will draw its own label that
...
interferes with ours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:21:46 +00:00
Kevin Ollivier
1711ac7b90
Fixing crash due to referencing a NULL m_font.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:02:16 +00:00
Kevin Ollivier
84be293d47
Fixed wxMDIChildWindow to be a native window on Mac. Otherwise, functions like SetSize would crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 18:18:54 +00:00
Kevin Ollivier
547841f751
Fixed typo in show available drives.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 18:16:49 +00:00
Václav Slavík
cadfae2b76
documentation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 16:26:02 +00:00
Vadim Zeitlin
73084ba7f8
update from Herbert Breunung which I forgot to commit some time ago
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:48:08 +00:00
Vadim Zeitlin
93ab511d10
added include files section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:47:05 +00:00
Vadim Zeitlin
329b43f61b
added test for Lower()/Upper() with 8bit chars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:46:07 +00:00
Vadim Zeitlin
0acc5a4075
don't duplicate code checking for X for X11 and Motif ports; filter out -RNONE from the X_LIBS set by AC_PATH_XTRA (see patch 956017)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:38:51 +00:00
Václav Slavík
04ff27d504
don't mess with the fonts if not asked to
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 22:17:14 +00:00
Václav Slavík
53fbce27ba
removed wrong bg colour handling code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 22:16:40 +00:00
Václav Slavík
67c276bdb6
more fixes to HTML entities parsing when loading .hhk and .hhc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 19:40:20 +00:00
Václav Slavík
1171e2e56e
fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:47:52 +00:00
Václav Slavík
ae864b86cb
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:23 +00:00
Václav Slavík
66bd83b4ec
fixed setting colour of wxStaticText in case the label contains XML special characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Václav Slavík
1dbeee5774
implemented underlined text drawing for GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:10:29 +00:00
Václav Slavík
3912b3f8f7
fixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead of wxChar* in data structures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:09:18 +00:00
Václav Slavík
16327fd824
re-added --inplace documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 09:00:52 +00:00
Robin Dunn
abd78a9ff1
don't create the font until after the app is initialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 18:45:02 +00:00
Václav Slavík
e1366cdb2a
fixed sash dragging after programatically trying to set sashpos < minsize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 17:29:43 +00:00
Václav Slavík
4dcccda66b
implemented 3state checkboxes in wxGTK with GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:53:22 +00:00
Václav Slavík
1ef49ab576
doubleclick selects cell for editing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:51:42 +00:00
Václav Slavík
a3c15d892d
more fixes to keypress handling in wxGTK:
...
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:25:39 +00:00
Václav Slavík
dbea9b7062
change of msgids patch description was inaccurate; fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 14:11:53 +00:00
Vadim Zeitlin
a3db525414
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:34:15 +00:00
Vadim Zeitlin
0d9b2c1636
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:14:24 +00:00
Stefan Csomor
a76342da41
allow a - at the beginning of a menu item (would become a separator by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 10:02:36 +00:00
Stefan Csomor
f4e8ff28c5
rely on built-in best size...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 09:39:01 +00:00
Stefan Csomor
6dfa00e85c
correctly positioning vertical slider labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 09:31:55 +00:00
Dimitri Schoolwerth
fdd74b41b0
fixed include dependency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 15:09:06 +00:00
Stefan Csomor
1189618f7a
colors are only set if non-black, otherwise Enable(false) does not gray them out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 13:40:16 +00:00
Julian Smart
2cce9b1152
Added braces to remove initialisation error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 12:59:12 +00:00
Stefan Csomor
3413ceade8
font retrieval synched for setsize and bestsize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 12:19:33 +00:00
Stefan Csomor
6d325d81bc
best size handling fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 11:33:39 +00:00
Stefan Csomor
2d1760d30f
cursor handling fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 11:18:02 +00:00
Stefan Csomor
90ff87d7b0
two-level switch statement for event types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 09:21:15 +00:00
Stefan Csomor
4e4e6dce5b
fix missing mouse-up events (eg when track control was called, which is consuming the mouse-up event)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 08:25:34 +00:00
Robin Dunn
88db1d64cb
SetSizeHints hacks are not needed any longer since the minsize is not
...
set by default any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:58:11 +00:00
Robin Dunn
dfbb588585
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:09:45 +00:00
Robin Dunn
a001823c80
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:02:49 +00:00
Václav Slavík
4b1ae1539c
inform the IM context about focus changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:52:25 +00:00
Václav Slavík
36025bcc55
GtkIMContext must be the first to process keypress events, otherwise you won't be able to enter all characters with some IMs; this is same thing as what GtkEntry and GtkTextView do
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:27:49 +00:00
Robin Dunn
7d9f33e29b
testing tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:25:53 +00:00
Robin Dunn
329b045c61
Optimized sizers to not call CalcMin more often than neccessary
...
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:21:31 +00:00
Robin Dunn
ba763a45d8
Optimized sizers to not call CalcMin more often than neccessary
...
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:13:27 +00:00
Robin Dunn
9f88452895
* Implemented BestSize cache
...
* Added calls to InvalidateBestSize where things affecting BestSize
are modified. There are probably several other places where this
still needs to be done...
* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
into the MinSize, (if any) and return the result.
* SetBestFittingSize will now only set the MinSize to the value that
was passed to it, without merging in the BestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Václav Slavík
cf82b73a0a
fixed keypresses handling to correctly translate Unicode characters to current locale's charset in GTK2+ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 19:51:39 +00:00
Václav Slavík
93d23d8faf
fixed memory leak and removed duplicated code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 18:11:29 +00:00
Václav Slavík
da21012040
use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 17:54:08 +00:00