Commit Graph

5735 Commits

Author SHA1 Message Date
Vadim Zeitlin
63e7198ba8 moved wxUSE_UNICODE <-> _UNICODE checks to wx/platform.h from wx/wxchar.h because wxUSE_UNICODE is used in wx/defs.h itself, before wx/wxchar.h is included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 21:24:16 +00:00
Václav Slavík
3a858e7512 include wx/platform, to get __WINDOWS__ etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 14:46:57 +00:00
Vadim Zeitlin
716e96df2b added default value (0) for flags argument of AdjustForParentClientOrigin()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 08:33:32 +00:00
Stefan Csomor
f4ef67ba69 adding support for mach unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 06:46:48 +00:00
Vadim Zeitlin
26dddf6c34 Open Watcom doesn't like typename, use class (patch 826812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-20 17:43:08 +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
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
Stefan Csomor
bb7eff4c0d adjusting to changes in object.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:50:46 +00:00
Stefan Csomor
c9cacf3e49 removing RTTI classinfo #define redirections, not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:48:20 +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
Jouk Jansen
2b5b100ac6 Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/defs.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 10:01:21 +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
5b66d31a94 fixed wxMouseEvent::Moving() and Dragging() after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 15:05:32 +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
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
d4864e971b added ShouldInheritColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:00:12 +00:00
Vadim Zeitlin
81b344a543 use ShouldInheritColours() instead of IsContainerWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:39:22 +00:00
Vadim Zeitlin
3931863650 added missing wxCMPFUNC_CONVs (patch 820862)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:10:44 +00:00
Vadim Zeitlin
6f63704ff4 wxMouseEvent::Moving() shouldn't return true when we're really dragging the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 07:55:25 +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
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
2197563c78 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 23:49:18 +00:00
Vadim Zeitlin
5bc97d1b81 added CanConvert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 23:47:22 +00:00
Václav Slavík
ba9d03fa13 1) use ngettext instead of _N, 2) cleanup of gettext macros definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 21:27:02 +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
Vadim Zeitlin
6ee654b36c added LVSICF_NOINVALIDATEALL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 11:17:51 +00:00
Václav Slavík
d614f51b31 return false from wxXmlResource::Load if the resource is corrupted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 09:48:52 +00:00
Robert Roebling
783da8450c Added wxBitmap::Rescale() from 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Stefan Csomor
be3dfc5dfa added newline conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 18:19:45 +00:00
Vadim Zeitlin
5bb9aeb266 check directories passed to Append/Insert/PrependDir(); don't terminate string returned from GetPath() with wxPATH_GET_SEPARATOR flag with slash for the paths which don't have any path at all under DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 23:15:16 +00:00
Vadim Zeitlin
d5d29b8a22 renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 22:13:14 +00:00
Vadim Zeitlin
96ac065f9e restore status bar text after a menu has been shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 22:55:06 +00:00
Václav Slavík
c839485c8e added .chm support for Unix (Markus Sinner)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 19:47:02 +00:00
Vadim Zeitlin
d7787243db fixed FixedSizeTabs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 13:37:43 +00:00
Vadim Zeitlin
d2ed74b912 send END_EDIT label if label editing is cancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 08:41:54 +00:00
David Elliott
9692f42bc6 Use NSWindow delegate notification windowWillClose instead of overriding close
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 19:17:11 +00:00
David Elliott
c1f12896c2 * Add bool parameter to WindowDidResignKey indicating whether the menu bar
should be changed to the common menubar or remain installed.
* Add back some assertions to ensure the code is working as intended.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:54:59 +00:00
David Elliott
0187ddb4a8 Use an application delegate object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 15:36:11 +00:00
Václav Slavík
849a28d0da added gettext plural forms support (patch #785660 with modifications)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 22:38:00 +00:00
Robin Dunn
487f2d58e9 Add some WXDLLIMPEXP's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 03:00:46 +00:00
Vadim Zeitlin
3e89999c1a fixed wxMOUSE_BTN_XXX values, use them instead of hard coded constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 22:22:59 +00:00
Stefan Neis
7cdc9c61b3 Added dummies for Enable and SetDelay.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 16:58:17 +00:00
David Elliott
518e56a71b Removed MainLoop, ExitMainLoop, Pending, and Dispatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 13:15:56 +00:00
Robin Dunn
bfe3577625 Added a const to be consistent with the generic class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:51:36 +00:00
Stefan Neis
dd133a2044 Switches OS/2 back to generic ListCtrl and TreeCtrl as those compile and
link at least (and problems with generic controls needs fixing anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:50:41 +00:00