Commit Graph

15354 Commits

Author SHA1 Message Date
Mattia Barbon
c0a83c519b Suboptimal wxColour::CreateByName implementation for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 21:49:44 +00:00
Vadim Zeitlin
07e9d4f0ed don't refresh the font unnecessarily (patch from Robert Vazan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 16:48:45 +00:00
Vadim Zeitlin
94a09ea5d3 don't crash on startup (fix for last change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 12:09:04 +00:00
Vadim Zeitlin
a182a91391 removed a printf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 11:28:36 +00:00
Vadim Zeitlin
93b79b6b57 don't append spaces to all arguments in ConvertStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 21:40:04 +00:00
Mattia Barbon
63407846da Fixed condition not to be always false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 20:30:59 +00:00
Stefan Csomor
be6628ce35 string conversion bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 17:10:20 +00:00
Stefan Csomor
46e2a2e7f6 fix for unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 17:08:54 +00:00
Vadim Zeitlin
4e9d23cdae account for parent area origin when creating controls and windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 08:43:28 +00:00
Vadim Zeitlin
e4bfb5c0cd removed duplicate yellow green from colour database
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 07:49:45 +00:00
Vadim Zeitlin
c1ef87c33d don't allocate system fonts/colours dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 23:30:03 +00:00
Vadim Zeitlin
f49d731fd4 fix for wxDateTime::SetToYearDay(last month day) (bug 816065)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 23:00:37 +00:00
Vadim Zeitlin
034742fcd6 fix for mistakenly prepending slash to the filenames without paths (bug introduced by last check in)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 22:45:28 +00:00
Vadim Zeitlin
2a36ad637f generate trace messages with dialup mask so that they're not shown by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 21:34:56 +00:00
Gilles Depeyrot
33f39af3b0 applied SF patch # 826838 to fix removal of -psn_* command line argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 20:22:34 +00:00
Vadim Zeitlin
289307fa14 free the DIB for raw bitmaps even if they don't use alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 12:51:50 +00:00
Stefan Csomor
2c4c398782 VC6 template fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 13:41:33 +00:00
Mattia Barbon
728b21e56c MSVC 5 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 09:10:20 +00:00
Vadim Zeitlin
564a150b1f replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:51:01 +00:00
Vadim Zeitlin
45bbbc5430 use #if WXWIN_COMPAT and not #ifdef (patch 826160)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:22:11 +00:00
Vadim Zeitlin
f75aecd00f use wxColourDatabase::Find() instead of deprecated FindColour(); some minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:20:13 +00:00
Robert Roebling
f9ebac93e7 Further corrections to bitmap and blit code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 19:23:19 +00:00
Stefan Csomor
05fa251a2f adjusting to changes in xti.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:53:19 +00:00
Vadim Zeitlin
4e6b83091a added CreateByName(), use it in wxColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Robert Roebling
551b5391ae \
Updated bitmap blitting code as per 2_4


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 14:28:52 +00:00
Vadim Zeitlin
c50f92d08c fixed bug with wxcolourDatabase::FindColour(); added (and documented) new Find() and AddColour(const wxColour&) methods to avoid such problems in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:42:31 +00:00
Vadim Zeitlin
c0db962623 made wxRTTI macros namespace-friendly (patch 799434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:33:46 +00:00
Vadim Zeitlin
311ccb86e4 compilation fix for Watcom (part of patch 813225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:23:07 +00:00
Vadim Zeitlin
3cb9989457 added wxSYS_ICONTITLE_FONT (patch 816026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:17:38 +00:00
Vadim Zeitlin
84968677ab VC++ release mode warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:09:11 +00:00
Vadim Zeitlin
489bbac963 RemoveEventHandler() didn't reset all pointers correctly (patch 819545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:31:19 +00:00
Vadim Zeitlin
999836aaca warning fixes for BCC and OW (heavily modified patch 819146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
0cc66b6c0b moved DLL import/export declarations from wx/defs.h to (new) wx/dlimpexp.h for GSocket; added wxUnusedVar() and wxDUMMY_INITIALIZE() to wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:25:56 +00:00
Vadim Zeitlin
230205aec5 use ShouldInheritColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:38:04 +00:00
Vadim Zeitlin
cb820f8075 don't complain if file doesn't exist in DeleteFile(); do return false if it exists and we failed to delete it (patch 819530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:19:21 +00:00
Vadim Zeitlin
7a1e00a16b added missing wxCMPFUNC_CONVs (patch 817551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:12:36 +00:00
Vadim Zeitlin
64dcc26913 use correct fallback file name in SaveFile() (patch 820884)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:05:54 +00:00
Vadim Zeitlin
7230716d7a patch 816178 and tons of other fixes to owner drawn bitmaps appearance; some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 08:50:20 +00:00
Vadim Zeitlin
64c2fa134b send EVT_WIZARD_FINISHED for modal wizards as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 07:22:19 +00:00
Vadim Zeitlin
5cb4253ec2 update the selection properly after deleting the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 22:59:36 +00:00
Vadim Zeitlin
f4992e37c0 removed the weird m_style which was never initialized GTK and duplicated m_windowStyle under Mac/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 22:45:23 +00:00
Stefan Csomor
de0bc93298 bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 19:23:52 +00:00
Vadim Zeitlin
7a1f9c0911 attempt to split cmd line into words in the same way as Windows does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 22:58:09 +00:00
Mattia Barbon
ecb9c007bd wxMotif fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:27:59 +00:00
Mattia Barbon
833a51f67e Implemented wxPopupWindow for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:05:28 +00:00
Vadim Zeitlin
19da49fcd0 show the selected item with customs colour correctly when the control doesn't have focus (i.e. don't keep the selected background)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 23:38:53 +00:00
Mattia Barbon
fe8d146972 wxMotif now uses wxGLCanvas implementation from wxX11,
removed unused files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 17:28:15 +00:00
Mattia Barbon
f15b55cee0 Fixes for application not closing after last top level
window closed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 17:23:23 +00:00
Václav Slavík
f9d243a306 fixed double filename->URL conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 09:56:30 +00:00
Vadim Zeitlin
54759554d3 use LVSICF_NOINVALIDATEALL in SetItemCount() to reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 11:19:18 +00:00