Commit Graph

153 Commits

Author SHA1 Message Date
Vadim Zeitlin
c631abdae9 made radio buttons and the toolbat text work for Win32 toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 00:44:57 +00:00
Václav Slavík
a460c732db added wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:06 +00:00
Vadim Zeitlin
05a6a8829c added a note about wxGetHomeDir() change under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 16:50:58 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Václav Slavík
45647dcf10 Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Vadim Zeitlin
a9c1265fca added support for wxTR_HIDE_ROOT style (patch 529614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:08:20 +00:00
Václav Slavík
b1eeda4084 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:23 +00:00
Vadim Zeitlin
7509fa8caa erase separators shown behind the controls added to the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:42:42 +00:00
Václav Slavík
f35992b0f5 info about wxLocale changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:29:09 +00:00
Vadim Zeitlin
a070d8ce24 added support for non alphanumeric simple character accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 12:23:11 +00:00
Václav Slavík
955c525d2c case insensitive <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:47:48 +00:00
Vadim Zeitlin
0eeeb25fee explained how the existing array declarations must be updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 15:52:08 +00:00
Vadim Zeitlin
cf72f75f8a forbid copying wxEvtHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:38:52 +00:00
Gilles Depeyrot
5a1cad6ea4 wxArray<T> macros have been changed to fix runtime problems under 64 bit
architectures. The base class is now implemented once for each needed
primitive type in order to avoid invalid reference casts. Macros are
provided to implement new arrays using these primitive base arrays.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 06:31:34 +00:00
Vadim Zeitlin
42a6fe0e2f added Hungarian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 16:01:09 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
994a3786b9 implemented wxWindowDC and wxClientDC::GetSize() properly (fixes bug #503022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:32:45 +00:00
Vadim Zeitlin
5b2f31eb30 1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
from overwriting each other when the main window is resized
2. more tweaks to MSWGetStyle() and related code, added a new, easier to use,
   version of MSWCreateControl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:02:51 +00:00
Vadim Zeitlin
b2d5a7ee00 better handling for the style changing during run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:43:43 +00:00
Václav Slavík
b239ffb941 added info about xpm.lib to changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:52:18 +00:00
Václav Slavík
2755d43750 fixes to HTML tables alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:43:34 +00:00
Václav Slavík
d7af2feac4 changed wxImage::ComputeHistogram to use wxHashMap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:44 +00:00
Vadim Zeitlin
5230934a95 wxDC::SetClippingRegion() in wxMSW works like in wxGTK, i.e. combines the given region with the old one (also documented this behaviour as the correct one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:40:45 +00:00
Vadim Zeitlin
188b6ff729 wxWindows builds with Solaris and FreeBSD native makes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:43:29 +00:00
Vadim Zeitlin
7d6d3bf31e Windows XP appearance fixes for status and tool bars (bug 501585)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:38:39 +00:00
Václav Slavík
31f3405236 added wxHtmlWindow::OnOpeningURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:23 +00:00
Václav Slavík
8e1aefe0f2 fixes to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:11:46 +00:00
Václav Slavík
4fd5055c0d fixed .cached files on big endian machines and cleaned the code up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:13:27 +00:00
Vadim Zeitlin
bf31fa26c7 added wxGetFontFromUser() similar to wxGetColourFromUser()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 17:53:00 +00:00
Vadim Zeitlin
409d5a5860 better native font support for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
Vadim Zeitlin
e33e0b4444 recent MSW changes: wxFrame border styles and wxRadioButton dummy events fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:54:40 +00:00
Václav Slavík
7a82af5fee partial update from gtk/changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:41:09 +00:00
Vadim Zeitlin
90c1530adf 0. extracted toolbar colour mapping stuff to its own function
1. wxToolBar adjusts the colours properly when the system colours change
2. wxImageList uses light grey as the transparent colour for the bitmaps


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 23:04:11 +00:00
Vadim Zeitlin
01a63363e2 mention that wxDialog doesn't derive from wxPanel any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 17:03:42 +00:00
Vadim Zeitlin
a5aa80862c added, implemented, documented wxTE_RICH2 and wxTextCtrl::GetRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:32:02 +00:00
Václav Slavík
b42f739ab0 Nuked Sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 23:11:29 +00:00
Vadim Zeitlin
2fb203e6ef fixed memory leak in wxHTTP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 17:18:38 +00:00
Václav Slavík
05813ada9a 1. applied (heavily modified) patch for reading CUR files by Chris
2. fixed MIME types (changed to image/x-{bmp,ico,cur})
3. (hopefully) reduced excessive amount of spaces used in code formatting
4. made error messages human readable


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:13:02 +00:00
Vadim Zeitlin
98e6fc816f wxFontEnumerator returns all fonts, not TrueType only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:07:21 +00:00
Vadim Zeitlin
3cf883a26a really fixed GetRenderer() and GetEditor() methods, they were both broken in some strange and twisted (and different) ways
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:15:11 +00:00
Vadim Zeitlin
a99966fb32 sped up the mask creation by a factor of 40
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:03:55 +00:00
Vadim Zeitlin
7c349adb6e fixed wxProgressDialog for ranges > 65535
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 02:14:38 +00:00
Vadim Zeitlin
1e3a888e72 fixed redraw problems in wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:27:26 +00:00
Julian Smart
b59da6c285 Minor doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 20:25:32 +00:00
Vadim Zeitlin
df22f86063 1. fixed file descriptors leak in wxFileName::CreateTempFileName()
2. really made it race-safe (provided we have mkstemp())


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 17:47:27 +00:00
Vadim Zeitlin
be03c0ec26 fixes error/usage messages given by the cmd line parsing logic in wxApp;
also fixed the handling of long-only options in the usage messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 12:21:03 +00:00
Vadim Zeitlin
d00407b2c6 fixed flicker in wxTreeCtrl::SetItemXXX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 22:20:54 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Václav Slavík
37b83ca639 second halt of Chris' wxImage ICO patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:14:09 +00:00
Vadim Zeitlin
a8141d3f28 changed wxYES_NO to be equal to wxYES | wxNO freeing another style bit which allows to avoid conflicts between wxYES and wxTE_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:18:45 +00:00