Commit Graph

631 Commits

Author SHA1 Message Date
Robin Dunn
486fd225d4 Added a SetFont method that behaves like SetLabel does with respect to
wxST_NO_AUTORESIZE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-20 06:10:38 +00:00
Vadim Zeitlin
1db8dc4a2b applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
Ron Lee
b64f0a5fc7 More mostly cross compiling related mods..
Get configure to bring in the necessary libs and object files if
the compiler can handle ole.
Added --enable-metafile option, defaults to yes but again only used
if ole is supported.
Fixed the last of the #ifdef wxUSE_NORLANDER.. tests to check if its
non-zero (it's always defined)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 11:19:25 +00:00
Vadim Zeitlin
2e4df4bfaf 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
2. moved ~50% of the event types in their own headers/sources from event.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Vadim Zeitlin
0b5eceb638 dynamic event types actually work with these changes, also corrected more
event macro in the sources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:58:14 +00:00
Vadim Zeitlin
09fcd88955 applied wxNativeFontInfo patch #103089
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-24 17:16:04 +00:00
Vadim Zeitlin
a6c65e881e MIME type manager fixes described earlier on the list:
1. extended wxFileTypeInfo
2. moved handling of fallbacks into wxMimeTypesManager (instead of Impl)
3. added wxMimeTypesManager::Associate() and Unassociate()
4. Unix version only reads the files on demand => much faster startup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-24 14:51:06 +00:00
Julian Smart
5e68f8f373 Fixed wxToolBar colour mapping problem (I hope)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-22 11:55:47 +00:00
Julian Smart
039df3032c And a 'standard colours' bitmap to help fix wxToolBar colour mapping problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-22 11:54:25 +00:00
Robert Roebling
9d75efc125 Removing wxPlotWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-16 11:24:54 +00:00
Julian Smart
e08d628d42 Extended ProcessTextCommand so processes SETFOCUS/KILLFOCUS; checked for valid
HWND in wxBuddyTextWndProc so if the event handler kills the HWND, it doesn't crash;
added support for disabling 3D effect in buddy window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-09 15:50:01 +00:00
Vadim Zeitlin
6fe190576e wxSpinCtrl now sens TEXT_UPDATED events as in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 02:12:22 +00:00
Vadim Zeitlin
76e23cdba3 compilation fixes for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 23:49:58 +00:00
Vadim Zeitlin
c7ce8392e0 wxMimeTypesManager now supports creating associations as well as querying
them (MSW only, thanks to Chris Elliott)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 04:48:37 +00:00
Vadim Zeitlin
30764ab524 applied wxNativeFontInfo patch from Derry Bryson (with minor changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 01:00:25 +00:00
Václav Slavík
91dd52fe3b added wxFrame::IsMDIChild() (msw only, protected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:13:29 +00:00
Vadim Zeitlin
6dfec4b8d9 added QueryRawValue() to wxRegKey and test code for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 23:40:26 +00:00
Vadim Zeitlin
91773b3f0d added WS_POPUP style to resizeable dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 12:49:04 +00:00
Vadim Zeitlin
b0a6bb75bc 1. a couple of compilation warnings fixed (strconv/listctrl)
2. now reenable windows disabled by wxWindowDisabler slightly earlier:
   this solves the problem with "wrong" window being brought to top and
   eliminates the need for BringWindowToTop() and SetActiveWindow() in
   our code
3. style wxFRAME_FLOAT_ON_PARENT is now obsolete and unused, all frames
   have WS_EX_APPWINDOW style and appear on the taskbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 20:19:10 +00:00
Václav Slavík
2e12c11a90 added wxListCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:29:26 +00:00
Václav Slavík
0377efa2e9 added wxTreeCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:26:15 +00:00
Václav Slavík
b656febdf0 added wxNotebook::AssingImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:25:07 +00:00
Julian Smart
5100cabffa Added wxHelpControllerHelpProvider, added DisplayContextPopup, DisplayTextPopup
to wxHelpControllerBase and wxCHMHelpController; updated sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 14:53:39 +00:00
Vadim Zeitlin
84bfc0d503 fixed wxContextHelpButton bitmap (dis)appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:48:54 +00:00
Julian Smart
fb6261e9ba Put wxContextHelp into cshelp.h/cpp, added wxContextHelpButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 10:49:39 +00:00
Julian Smart
2702ed5a3d Added rules to wxListCtrl (MSW now, GTK+ soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 11:39:14 +00:00
Julian Smart
df613907d0 Changed default value for eliminateBorders (MakeExtendedStyle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 12:21:14 +00:00
Bryan Petty
3ca6a5f046 second merge of the 2.2 branch (RL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Julian Smart
484523cf52 Modified generic wxTreeCtrl to work under non-Unix platforms simultaneously
with the native control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 13:59:45 +00:00
Julian Smart
63da7df701 Added ability to call wxWindow::OnPaint under Windows (experimental).
Added wxTR_NO_LINES to remove lines from tree control (MSW only).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-03 16:11:51 +00:00
Julian Smart
51a58d8b4b Added wxGenericDirCtrl, wxGenericDirDialog and associated icons.
Altered dialog sample to show generic dir dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-23 19:10:27 +00:00
Julian Smart
74afbadc17 Cygwin 1.1 mods (main branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-22 14:03:36 +00:00
Unknown (NI)
f48d169c4a applied the patch by Garrick Meeker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 17:31:40 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
09b61d999d const cast inside WXWIN_COMPATIBILITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 16:10:25 +00:00
Julian Smart
7fee680be8 Some VC++ makefile fixes; minor comment mods to setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:47:13 +00:00
Robin Dunn
ede8795ff0 wxUSE_DYNAMIC_CLASSES was left out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 03:41:25 +00:00
Vadim Zeitlin
3b415ba4cd 1. fixed crash in wxDateTime::ParseDate
2. some DLL compilation fixes
3. wxHandleFatalExceptions() implemented for MSW and documented
4. some attempts to make setup0.h a bit nicer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 00:56:22 +00:00
Julian Smart
fac2666314 Added def files for making OpenGL DLLs (Mingw32); added comment to wxHTML format
doc; added OpenGL libs to makeg95.env


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:11:10 +00:00
Julian Smart
b2cf617cb8 Some doc fixes; BC++, Watcom C++, Mingw32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 17:59:56 +00:00
Julian Smart
9c824f2977 Doc updates; new grid disabled for BC++/WIN16 (too much global data)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 09:19:37 +00:00
Guillermo Rodriguez Garcia
5c9eff3055 Removed bool params and retvalues in GSocket interface to avoid mismatch
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:20 +00:00
Unknown (NI)
7e42f2f863 included missing header files - without them mingw32 compilation failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 23:31:15 +00:00
Julian Smart
669f7a111f Various compiler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 18:52:23 +00:00
Guillermo Rodriguez Garcia
2288191b9c Forgot to commit this one - changes for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:03:40 +00:00
Vadim Zeitlin
9f303149a0 some fwd declarations added to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 07:52:46 +00:00
Guillermo Rodriguez Garcia
70988afbb1 Added gsockmsw which now contains all GUI-specific code for the MSW version
of gsocket - a step towards wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:43:58 +00:00
Ron Lee
236a9de39a moved wxDash typedef to gdicmn.h
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Vadim Zeitlin
cbc66a2704 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows
2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:26:21 +00:00
Julian Smart
3f8e5072f7 Small fixes for Tex2RTF but alas, we still get memory problems.
Added wxUSE_MFC setting (doesn't include windows.h, removes own memory
tracing); added include <ctype.h> in case where PCH isn't used;
wxExit now exits :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:18:22 +00:00