Commit Graph

33672 Commits

Author SHA1 Message Date
Vadim Zeitlin
c1aa5517ac remove the vertical scrollbar completely if the control is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:17:52 +00:00
Vadim Zeitlin
b1b408af9e don't paint an infinite number of items if the control is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:16:07 +00:00
Vadim Zeitlin
63b3dc58be document that the workaround used to make popup menus behave correctly is the one officially sanctioned by Microsoft and provide the URL to the Knowledge Base article; also minor cleanup: use GetHwndOf() instead of HWND casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:05:09 +00:00
Włodzimierz Skiba
94c4754368 Back to previous #include order - wxGTK1 include loop needs rethinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 21:43:14 +00:00
Włodzimierz Skiba
59b8b14745 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 21:39:21 +00:00
Włodzimierz Skiba
d022d3649e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:31:27 +00:00
David Surovell
3d59537f64 minor cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:04:30 +00:00
Włodzimierz Skiba
68b4e4cff0 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 15:16:13 +00:00
Włodzimierz Skiba
88a7a4e10e Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 14:38:19 +00:00
Włodzimierz Skiba
ee19674c9f [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 12:40:19 +00:00
Włodzimierz Skiba
81853b9861 wxTheColourDatabase->Find() can fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 12:06:51 +00:00
Robert Roebling
7266451464 Lots of minor visual updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:51:34 +00:00
Robert Roebling
e585d8137c Added rc file for MINGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:50:32 +00:00
Robert Roebling
b6339e0b4f Minor sample update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:49:21 +00:00
Robert Roebling
db4ad642aa Added simple scroll sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:48:26 +00:00
Robert Roebling
506d54a3f6 Minor corrections to native renderer. I also corrected
the header button renderer as per MSW, this might break
    other code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:47:29 +00:00
Robert Roebling
85e5bb6a95 Compile fix for VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 08:38:07 +00:00
Włodzimierz Skiba
9eb49b58c0 Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:32:00 +00:00
Włodzimierz Skiba
daebb84bff Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:05:04 +00:00
Włodzimierz Skiba
a317d71423 Build fix after DrawPushButton introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:01:34 +00:00
Włodzimierz Skiba
7b5874dd9f Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 19:44:07 +00:00
Robert Roebling
daa85e93c4 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 19:17:26 +00:00
Włodzimierz Skiba
7760051f27 Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 18:31:23 +00:00
Włodzimierz Skiba
4b80b7705f Build fix after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 18:02:27 +00:00
Vadim Zeitlin
7d13fbc6dc don't use invalid/uninitialized iterator in wxList::compatibility_iterator in wxUSE_STL==1 case, this doesn't work with the debug version of glibc STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 17:59:10 +00:00
Włodzimierz Skiba
bc5a523959 wxUSE_NOTEBOOK usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:59:17 +00:00
Robert Roebling
2209baaee3 Committed Jaako's renderer patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:57:27 +00:00
Włodzimierz Skiba
6b5d2431fc wxOS2 build fixes after wxColourBase introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:34:26 +00:00
Robert Roebling
e21f75bdf6 Finished most of the selection/focus handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 15:34:17 +00:00
Włodzimierz Skiba
40989e46b8 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Robert Roebling
cab0703813 Lots of selection and focus code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 12:33:24 +00:00
Włodzimierz Skiba
d7903e1336 Removal of second part of dsw files (as requested by Jamie Gadd).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 09:29:35 +00:00
Włodzimierz Skiba
df91131cb0 Include wx/string.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 08:46:59 +00:00
Vadim Zeitlin
eeee4050cf correct i18n problems in accel handling code (replaces patch 1465417; closes bug 1464912) and a lot of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 00:56:24 +00:00
Vadim Zeitlin
2e91c90549 corrected return codes of various methods (patch 1472288)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 22:41:42 +00:00
Vadim Zeitlin
265c34ee78 emit only 1, not 2, events when changing text of a single line text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 21:35:33 +00:00
Václav Slavík
0019dee69e don't link against 3rd party image libs when building non-GUI targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 16:38:47 +00:00
Václav Slavík
b1e411d9f5 fixed bug: option's default value must be among the list of allowed values -- removing <values> list to fix this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-23 15:59:20 +00:00
Mart Raudsepp
9cf0f6ae4f Add #if !WXWIN_COMPATIBILITY_EVENT_TYPES around wxNewEventType calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-22 22:12:55 +00:00
Paul Cornett
09bf837807 extract 3 copies of scrollbar width code into one function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-22 05:46:54 +00:00
Václav Slavík
968d6f46c8 added comment explaining how to replace calls to deprecated method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:47:48 +00:00
Włodzimierz Skiba
61609f69a5 Removal of first part of dsw files (as requested by Jamie Gadd).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:08:59 +00:00
Vadim Zeitlin
04227efc4d fix for Win64 after last sizeof(OPENFILENAME) change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:24:39 +00:00
Vadim Zeitlin
cd7afaff0c test centering file dialog on parent frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:10:51 +00:00
Vadim Zeitlin
cb80db46e5 no real changes, just (unsuccessful) attempts to make the dialog resizing work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:09:19 +00:00
Włodzimierz Skiba
9577d302a7 Build fix due to broken last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 12:01:30 +00:00
Włodzimierz Skiba
a58e8e0cd6 Removed outdated build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 11:57:01 +00:00
Włodzimierz Skiba
32d4c30a13 Include wx/hash.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 10:33:01 +00:00
Vadim Zeitlin
62675f1e33 added operator=(unsigned int) overload (should help djgpp compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:50:46 +00:00
Vadim Zeitlin
5bb372168a always use V5 OPENFILENAME struct first and fall back on V4 if it doesn't work (replaces patch 1472018)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:30:50 +00:00