Commit Graph

7516 Commits

Author SHA1 Message Date
Vadim Zeitlin
9fa2da4a72 correct relative paths for headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 01:15:47 +00:00
Vadim Zeitlin
36b6448cc3 added wxUSE_DEBUGREPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 00:19:17 +00:00
Włodzimierz Skiba
17131ffd75 Disable wxID_EXIT on PalmOS with all consequences in content of menu (separators). Remove msw related code in wxPalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:59:01 +00:00
Vadim Zeitlin
9600e53035 disable drag and drop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:37:21 +00:00
Vadim Zeitlin
6f8a4ba11c wxGetEnv() should return wxChar *, even if it's a macro and not a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:23:33 +00:00
Włodzimierz Skiba
311131d369 Apart smartphones use choicebook when notebook is not available (like testing smartphone layout using desktop build).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:22:46 +00:00
Vadim Zeitlin
2f5e2c177c define wxGetEnv() as macro, not inline function, for WinCE as otherwise extended.c compilation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:20:04 +00:00
Vadim Zeitlin
cbffcf1117 define wxGetenv() for WinCE which doesn't have _tgetenv() to always return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:14:53 +00:00
Vadim Zeitlin
5e7f00a137 moved WinCE-specific part into wx/msw/wince/chkconf.h; added more stuff to it (partly moved from wince/setup.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:11:57 +00:00
Vadim Zeitlin
4652511f90 disable wxUSE_EXCEPTIONS when compiling with VC++ but without /GX (a.k.a. /EHsc) switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:06:26 +00:00
Vadim Zeitlin
5e9ccdeb95 generate (common part of) include/wx/msw/wince/setup.h automatically, as for MSW, Mac and Unix setup.h versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 18:26:29 +00:00
Ryan Norton
b14ba1f117 cgimagecreate from wxbitmap crashes 10.2 - turn off. Put in right click handler to avoid double-creation of the menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 18:54:52 +00:00
Dimitri Schoolwerth
ed6d701058 minor cleanup (doc typos fixed, removed tabs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 16:37:36 +00:00
Włodzimierz Skiba
d94c09cdc6 Missing casts to event handling functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 16:29:59 +00:00
Vadim Zeitlin
ef0aea5ad4 made wxStaticCast more backwards compatible by allowing it to cast away const as well (in release build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 15:23:49 +00:00
Włodzimierz Skiba
5e10aed554 Missing flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 07:29:27 +00:00
Robert Roebling
917ae499da Applied DnD patch, adding a field for setting a default action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 22:50:46 +00:00
Włodzimierz Skiba
8bc3ec1ff5 Casting fix for events. Needs check by ARM eVC4 users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:53:16 +00:00
Vadim Zeitlin
6a168c177c return name and extension by const ref, not by value, to prevent bugs as the one just fixed by patch 1159289 from compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:16:44 +00:00
Vadim Zeitlin
73fbb031f5 use static_cast<> for wxStaticCast; updated comment in front of wxDynamicCast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 13:09:25 +00:00
Vadim Zeitlin
330be53493 removed wx_dynamic_cast(), it can't be implemented properly without real dynamic_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 11:17:01 +00:00
Vadim Zeitlin
ed6dd18ae8 set wxDIALOG_UNIT_COMPATIBILITY to 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:56:46 +00:00
Włodzimierz Skiba
7d0d80bd1c Allow forward declaration of wxSlider in wxMSW (bug 1157614). Remove unused header from wxSliderMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:44:38 +00:00
Włodzimierz Skiba
a28b4703b5 Missing flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:04:24 +00:00
Włodzimierz Skiba
395b5a7626 XTI has own wxObjectEventFunction and has to follow event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 09:51:20 +00:00
Robin Dunn
116627da19 Allow wxBufferedDC to be constructed with just a wxDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:38:53 +00:00
Vadim Zeitlin
fe6cf12844 init member variables properly (patch 1156088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:29:56 +00:00
Vadim Zeitlin
d86ea20ff4 added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:08:54 +00:00
Vadim Zeitlin
58385af016 fix top margin for static box sizer when wxDIALOG_UNIT_COMPATIBILITY == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 23:41:07 +00:00
Vadim Zeitlin
5dd070c25b extracted platform-specific code to determine static box borders to wxStaticBox::GetBordersForSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 23:37:15 +00:00
Vadim Zeitlin
69dada2e7a added file with WinCE-specific configuration options checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:42:59 +00:00
Vadim Zeitlin
07158944d8 added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:37:58 +00:00
Vadim Zeitlin
831c288955 compilation fix for VC6 (patch 1158433)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:12:46 +00:00
Julian Smart
5bd78bbc2b Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for Mac metal appearance (saves #ifdefing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 21:50:11 +00:00
Julian Smart
0f36a8d7bc Removed very very obsolete flags from 1.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 20:44:06 +00:00
Vadim Zeitlin
d5d5101391 fix to avoid eVC crashes: restored wxObjectEventFunction declaration so that it defines a wxObject method, not wxEvtHandler one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:22:00 +00:00
Włodzimierz Skiba
86a2f7226f Inform settings about wxWindow class existence.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:10:42 +00:00
Robert Roebling
9b0b5ba76e Applied GetSystemMetric patch to suppurt GTK and multihead
display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:38:31 +00:00
Vadim Zeitlin
4d7c537dfa added wxUSE_DATEPICKCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 02:01:45 +00:00
Vadim Zeitlin
5f8ba10e86 replaced C++ comment with a C one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-06 12:16:24 +00:00
Michael Wetherell
9802983f15 Fix for problem with wxGetFileKind on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 23:24:17 +00:00
Mattia Barbon
f455ffb2da Use the correct WXDLLIMPEXT declaration for
wxStringListBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:06:02 +00:00
Włodzimierz Skiba
29b53ef977 Removed ambiguity between deprecated and new constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 19:27:02 +00:00
Robert Roebling
b737ad10de Applied John L's patches for curson scaling, image resizing
without scaling and the art provider resize bitmap patch.
    I'll look into adapting the generic file dialog to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Robert Roebling
0b40f3d80b Changed wxFileName::SetExt() as per the discussion, added
ClearExt() and SetEmptyExt() and documented it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 17:31:18 +00:00
Robert Roebling
4d4edca33b Adapt SetExt() to new availability of m_hasExt. I also
added SetNoExt() as there needs to be a way to remove
   the extension. One wonders what SetExt( "" ) is supposed
   to do. Maybe adding SetEmptyExt() would be better and
   backwards compatible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:45:24 +00:00
Vadim Zeitlin
9f8d3f61a9 added wx_dynamic_cast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 10:53:55 +00:00
Julian Smart
265a3864bb Added wxBUFFER_VIRTUAL_AREA, wxBUFFER_CLIENT_AREA to buffered DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 06:56:15 +00:00
Robin Dunn
3dd67a18b7 Add GetToolTip accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 18:32:52 +00:00
Stefan Csomor
2d17efa94e unicode character events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 17:45:49 +00:00