Commit Graph

4724 Commits

Author SHA1 Message Date
David Webster
261df93f45 Updates to keep OS/2 Frame apps from crashing on exit. Fixes WM_QUIT processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 14:46:24 +00:00
Robert Roebling
77bb48f9bb Applied DrawArc patch.
Some tests for ShowFullScreen() (doesn't work under GTK).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 09:12:43 +00:00
Julian Smart
009b6d2972 Corrected off-by-one bug in wxRect(const wxPoint&, const wxPoint&) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-04 06:58:30 +00:00
Robin Dunn
982afb26d2 1. Setting the listctrl as the event object before sending the event
to any user event handlers.

2. InsertItem returns the actual index used when given one beyond the
end of the list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 21:30:18 +00:00
Julian Smart
f6ea16541e Fixed ALT processing, fixed doc bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 16:49:23 +00:00
David Webster
26270ea4c9 Several updates for fixing the subclassing problems and accelerator processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 13:45:46 +00:00
Vadim Zeitlin
8317194692 compilation fix (ooooops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 18:55:57 +00:00
Robert Roebling
49849fadb8 Implemted wxImage::Paste() for transparent images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 18:18:51 +00:00
Vadim Zeitlin
bcb751a9d5 added missing .c_str() here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 17:33:59 +00:00
Julian Smart
d88eb514de Fixed CanCut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 16:18:39 +00:00
Vadim Zeitlin
dd98264971 create a DC for wxEraseEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-28 20:20:11 +00:00
Vadim Zeitlin
4a0a9b03d6 compilation fixes for mingw32 (still leaving disabled for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-27 12:16:02 +00:00
Robert Roebling
5101dc00ca Let's see where this commit will end up :-)
Corrected reported wxSizer bug (wrong minimal size
    when option flag > 1)
  Updated changes.txt and wxGTK spec.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 15:00:50 +00:00
Vadim Zeitlin
d3b2361621 bug #105 (wxFileSelector misinterprets the def extension) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-23 22:45:59 +00:00
Václav Slavík
1180177533 reverted my 2 previous checkins -- will merge back from 2.3 as soon as it proves stable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-23 10:39:19 +00:00
Václav Slavík
9c7013a23b fixed bug in wxListCtrl::SetItem (forgot to delete previous attribute from m_attrs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 21:56:52 +00:00
Vadim Zeitlin
521d92a66d bug #101 (wxListCtrl::GetItemRect() returns rectangle with incorrect height) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 10:12:26 +00:00
Vadim Zeitlin
e51b06d56f bug #103 (encodings not enumerated correctly) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 10:06:37 +00:00
David Webster
0f4e4da55c Minor fix to app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 16:45:45 +00:00
Stefan Neis
c898f79a9f Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 16:27:32 +00:00
David Webster
e231753983 Reparied accel processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 12:00:39 +00:00
David Webster
3ed3532bd7 Fixes for accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 00:02:41 +00:00
David Webster
39dd8deaa6 New frame class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 20:49:41 +00:00
Václav Slavík
9926c07ad1 fixed wxListCtrl::SetItem -- changing attributes of item with attributes already set had no effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:44:04 +00:00
Vadim Zeitlin
cb3c5d853f accept windowsXXXX as well as windowsXXX in CharsetToEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-13 13:28:50 +00:00
Vadim Zeitlin
daf91c018c 1. Unicode fix for wxCmdLineParser
2. fixed toolbar buttons problem for W2K


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-13 11:07:46 +00:00
Julian Smart
aafdc5a46c Doc fixes, distribution list additions, makelib.g95 fixed so WXDIR can be passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-13 09:58:37 +00:00
Vadim Zeitlin
d9131af011 no wxMapBitmap() any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-13 00:27:46 +00:00
Vadim Zeitlin
7ae8234630 unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-13 00:16:54 +00:00
Vadim Zeitlin
45d27b94de 1. gsockmsw.c compiles in Unicode mode
2. wxBase project files updated/added
3. more fixes to tmake scripts: now work for any combination of
   lib/dll unicode/ansi settings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 20:37:18 +00:00
Julian Smart
5647a063a5 TIFF makefile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 20:12:07 +00:00
Julian Smart
c83d183606 Updated some version numbers; added script to automate builds with difference
compilers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 17:22:23 +00:00
Robert Roebling
a2d51707f9 I hope dnd won't crash anymore and I didn't
break too much else.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 16:19:04 +00:00
Vadim Zeitlin
d19729d528 fix (with a test) for wxMenu::UpdateUI bug (the handler defined in the menu class was never used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 13:30:47 +00:00
Vadim Zeitlin
30f2a1119a fixed crash in wxStrtok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 11:24:06 +00:00
Vadim Zeitlin
d42d40692b compilation fixes for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:39:16 +00:00
Julian Smart
e159092cf0 Now show/hide status bar in ShowFullScreen, instead of deleting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 12:27:40 +00:00
Vadim Zeitlin
0fde4c5a66 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 14:58:45 +00:00
Vadim Zeitlin
d212f35a39 fixed logging in Usage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 14:41:49 +00:00
Vadim Zeitlin
a198ebda98 made error "locale couldn't be set" a verbose message instead, use WXDIR to
find wxstd.mo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 14:40:06 +00:00
Julian Smart
0a78ba3df5 Changes for Watcom; updates to readme.txt and changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 07:15:43 +00:00
Robin Dunn
0d8ab7638d more minor fixes, stabalizations, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 19:19:49 +00:00
Robert Roebling
f743e9389e The MSW radiobutton now informs about its state in the
event (m_int) as wxGTK did. Changed blindly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 16:18:53 +00:00
Vadim Zeitlin
23c44a6134 warnings fixed for compilation with VC++ at max warning level with optimization
(mainly "unreachable code"), another warning ("function not inlined") disabled
in defs.h, minor fixes to DLL project file template


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 10:12:09 +00:00
George Tasker
6456a7f792 Added default constructors/destructors to allow plugging of (potentially large) memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 18:49:22 +00:00
George Tasker
7109c7c2f8 Reformatted source to normalize - no code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 18:16:14 +00:00
George Tasker
77dbcbc141 Comments added to acknowledge contributors
Cleanup of commented out blocks that were no longer needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 17:21:17 +00:00
George Tasker
8d67403dfd Replaced german variable names with english
wxDbGetConnection() did not check for the correct scrolling of cursors when re-using a cached database connection


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 17:16:44 +00:00
Vadim Zeitlin
13d6e033a3 fixed 2d radiobox layout and kbd handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 12:00:50 +00:00
Michael Bedward
50dce4e225 Removed redundant m_left etc. variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 05:16:26 +00:00