Commit Graph

4735 Commits

Author SHA1 Message Date
Robert Roebling
5e50c7aed0 Backported theme code to 2.2 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-16 11:05:04 +00:00
Robert Roebling
603ad17064 wxListCtrl::InsertItem() returned number of items,
not the new index.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 20:02:41 +00:00
Vadim Zeitlin
07e9e6a82e attempt to fix crash in tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 16:27:41 +00:00
Vadim Zeitlin
95e98de61b fixed bug in mouse handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:29:02 +00:00
Vadim Zeitlin
b8e3e48747 wxComboBox sends TEXT_UPDATED event under MSW when selection changes now too
(no changes in other files)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-09 19:40:01 +00:00
Julian Smart
0668ed67d3 Fixed non-recognition of wxLIST_MASK_IMAGE flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:49:14 +00:00
David Webster
cd50efc412 fix to OWNER_DRAWN assert in listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 19:18:35 +00:00
Robert Roebling
bc22fbf50d Applied PS patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:18:44 +00:00
Robert Roebling
0941825d49 Removed wxClientDC from wxEraseEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:18:02 +00:00
Robin Dunn
11d4a2d65b Interface file defining functionality available in Scintilla. Will
possibly be used to automatically generate some of the wxWindows code
that wraps Scintilla.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 03:39:30 +00:00
Robin Dunn
fa711ca3ea Fixed some off-by-one errors that were visible on wxGTK but actually
affected wxMSW too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 18:19:36 +00:00
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