Commit Graph

903 Commits

Author SHA1 Message Date
Vadim Zeitlin
5bf75ae769 default style now applies to the text entered by the user as well (patch 574789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Robin Dunn
6bad4c327c Icons fetched from wxMimeTypesManager did not get the width/height of
the icon, now they do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 18:29:52 +00:00
Vadim Zeitlin
82df67d960 automatically initialize m_cRef to 0 (patch 575011 + more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 11:52:11 +00:00
Julian Smart
aca78774b6 Added wxRadioButton::MSWWindowProc to reset m_focusJustSet -- otherwise,
if RB1 has the focus, then you click on RB2, then back on RB1, no
command event will be generated for the last click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 14:09:31 +00:00
Julian Smart
c55fd2c60d Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 07:33:02 +00:00
Václav Slavík
17b439e88a added QS_ALLPOSTMESSAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 22:35:40 +00:00
Julian Smart
24f4ad9592 Applied patch [ 546335 ] Added Automation types and array access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:10:32 +00:00
Vadim Zeitlin
bd9cd5343b fixed setting tooltips for slider by moving the code working around comctl32.dll bug from wxToolBar to wxWindow so that it is used for all common controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:49:19 +00:00
Vadim Zeitlin
7f1cf28c2e added TRUE default value for Show() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 12:52:06 +00:00
Vadim Zeitlin
5a403e3f2a changed WM_GETDLGCODE handling so that all windows get WM_CHARs by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:32:20 +00:00
Vadim Zeitlin
f586fde36c removed unused wxWindow::m_doubleClickAllowed field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 15:20:03 +00:00
Vadim Zeitlin
085ad68651 moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Mattia Barbon
459e74ba69 Update taskbar.h to use DECLARE/DEFINE_EVENT_TYPE; fixes an runtime error
with MinGW and (probably) Cygwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 19:24:21 +00:00
Vadim Zeitlin
24b3cc2c96 reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:30:00 +00:00
Vadim Zeitlin
6b0d8a01d1 added default parameter values to the overloaded Show() and Enable() versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
ace954f1db replaced quotes in #include with angle brackets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-01 11:48:26 +00:00
Vadim Zeitlin
869f248c8d fixed assert when using wxMiniFrame (result of recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 20:34:13 +00:00
Vadim Zeitlin
9dfef5ac20 changes to wxFRAME_NO_TASKBAR/FLOAT_ON_PARENT styles handling which should
now work more as expected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 17:11:19 +00:00
Vadim Zeitlin
7e25f59e48 prevent the parent window from losing activation when a popup is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 13:02:58 +00:00
Vadim Zeitlin
86e5d706f4 fixed GL case in #include (patch 557178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 15:56:38 +00:00
Vadim Zeitlin
3fde374f3f fixes to wxFontDialog after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:26:01 +00:00
Vadim Zeitlin
dbc65e2760 fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Vadim Zeitlin
036da5e374 changed the handling of the default buttons to be more logical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
7cf46fdb3e fixed list item attributes when inserting/deleting items (patch 548391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
e49d97e66a fixed Windows style of wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 23:27:59 +00:00
Vadim Zeitlin
d90879fa39 fixed multiple bugs in multiple selection wxCheckListBoxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 23:09:37 +00:00
Julian Smart
a9d171bd00 Doc tweaks
Added back mouse sensitivity to wxStaticText
Added code to widgets sample to test for sensitive wxStaticTexts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 09:35:44 +00:00
Vadim Zeitlin
e78d4a23c2 wxDirDialog now has the same ctor under all platforms and also uses the
correct default title string


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:38:51 +00:00
Vadim Zeitlin
5a32e18214 changed wxUSE_MS_HTML_HELP to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:44:14 +00:00
Vadim Zeitlin
62402193ce disabled wxWin memory debugging by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-01 16:14:23 +00:00
Vadim Zeitlin
2245b2b2c3 changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Vadim Zeitlin
f63e3ebbe3 implement wxColourDialog::Move() (patch 548048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 21:06:21 +00:00
Ron Lee
5b98eb2fa6 Added {S,G}etItem{Text,Background}Colour methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 20:31:46 +00:00
Vadim Zeitlin
4a38127bf0 replaced unnecessary #include with a forward decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 23:51:52 +00:00
Václav Slavík
7391216edc added wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 16:18:26 +00:00
Vadim Zeitlin
e7e91e0358 fixed WM_GETDLGCODE processing to include the bits returned by the DefWindowProc() as well; removed unneeded SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:56 +00:00
Vadim Zeitlin
ddf9d04fe9 implement SetFocusFromKbd() to select all text in the controls whose dialog code has DLGC_HASSETSEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:14 +00:00
Vadim Zeitlin
5f605ccf3f implemented DoGetSize() for wxSlider (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:57:28 +00:00
Vadim Zeitlin
129223d68e select the whole text in the single line text control when its SetFocus() is called (which also happens when the user TABs to it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 23:32:41 +00:00
Julian Smart
387ebd3eb7 Added wxDF_HTML
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Julian Smart
a5e84126fc Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
the capture before release it.
Documented wxMouseCaptureChangedEvent and GetCapture/FindCapture.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 20:26:43 +00:00
Vadim Zeitlin
0df3fbd72a don't send dummy scroll events from wxNotebook when the page is changed using the built-in spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:22:49 +00:00
Vadim Zeitlin
94af7d45ef added wxTextCtrl::EmulateKeyPress
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:29:04 +00:00
Vadim Zeitlin
9c7df356f9 added raw key code and flags support (based on patch from Bryce Denney)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:06:59 +00:00
Vadim Zeitlin
f94dd12dc1 SetPath() is now implemented in dirdlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:20:32 +00:00
Vadim Zeitlin
f3558accb0 more fixes to handling the paths with trailing slashes in wxDirDlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 10:11:37 +00:00
Robin Dunn
68304caffe wxWindowMSW now eats EVT_CHAR if the key was handled in EVT_KEY_DOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 00:36:29 +00:00