Commit Graph

15354 Commits

Author SHA1 Message Date
Robin Dunn
559b747dc0 The gaps should *not* be included in the space given to the item, and
so should also not be accounted for in the alignment adjustmanets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 23:43:02 +00:00
Robin Dunn
85fab316d6 Need to ensure that the right background is explicitly set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 22:00:45 +00:00
Robin Dunn
5f89b54341 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:55:10 +00:00
Robin Dunn
ab473127c6 Layout fixes due to measuring with the wrong font. Also added
GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:49:17 +00:00
Václav Slavík
fa47d7a7ad SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Vadim Zeitlin
64869ab787 made GetTextExtent() work correctly with NULL theFont parameter (m_font might nto be set); drastically simplified it by using helper WindowHDC and SelectInHDC classes instead of the old mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:47:01 +00:00
Vadim Zeitlin
918107037d don't use &this->GetFont(), this is _not_ valid C++ and GetTextExtent() should work correctly with the default value of font parameter anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:45:24 +00:00
Václav Slavík
44fd6f721a implemented wxSS::GetMetric on wxGTK2 (patch 950618)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:06:50 +00:00
Václav Slavík
f8ff87ed6d decoupled attributes inheritance and m_hasXXX flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:05:20 +00:00
Václav Slavík
4d5881b12d fixed HTML entities parsing inside <titl
e> tag


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 10:21:47 +00:00
Robin Dunn
aa2e1f3d44 removed some commented out code that should have been removed in the
last commit


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 18:02:13 +00:00
Robin Dunn
8d2e831b09 minsize and attribute tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 17:44:21 +00:00
Vadim Zeitlin
020707bba9 removed gtk.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 16:55:35 +00:00
Vadim Zeitlin
fc447c7f43 fixed bug in FindAbsoluteValidPath() which returned cwd instead of empty string if the path was not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:52:38 +00:00
Vadim Zeitlin
976266244c recognize roman8 charset as us-ascii (this is wrong but better than not recognizing it at all) (fixes bug 978251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:48:15 +00:00
Robin Dunn
90af251453 A little better failure message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:01:11 +00:00
Robin Dunn
015fd9ef48 Allow for Cmd-click on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:09:06 +00:00
Václav Slavík
2be125e6fc implemented wxFRAME_NO_TASKBAR for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:47:54 +00:00
Václav Slavík
8316ff5d98 respect absence of wxCENTRE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:46:05 +00:00
Václav Slavík
91fa114d88 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:45:30 +00:00
Václav Slavík
4d8d6490da create wxDialog with proper _NET_WM hint so that the WMs recognize it as a dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:37:33 +00:00
Mattia Barbon
bc6e28d55a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:48 +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
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
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
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
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
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