Commit Graph

701 Commits

Author SHA1 Message Date
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
David Elliott
92e8d01997 wxCocoa: allow wxUSE_NUMBERDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:36:19 +00:00
Václav Slavík
95318f7df2 configure didn't define __WXDEBUG__, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:05:16 +00:00
Václav Slavík
c74dc1630d don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 18:55:09 +00:00
Václav Slavík
dc838d98f1 removed some obsolete parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:58:15 +00:00
Mattia Barbon
b3dfbbc910 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:02:59 +00:00
Václav Slavík
f0290fcacd oops, partially reverted previous commit, it was incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:25:45 +00:00
Václav Slavík
fddeb06b11 use CODE_GEN_FLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:17:26 +00:00
Václav Slavík
8ee2dd0536 more bakefile optimalizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:02:14 +00:00
Václav Slavík
b625909cd6 samples/console is buildable as part of multilib, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 15:59:01 +00:00
Václav Slavík
8a7c93a384 libgdi32.a is not included in console apps by mingw, but we required it in wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 14:23:59 +00:00
Vadim Zeitlin
166263e652 don't generate makefiles for the samples which don't build in current configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:49:34 +00:00
Vadim Zeitlin
9de9b8f0fc don't output strange "base (hosted)" message when not cross-compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:39:19 +00:00
Vadim Zeitlin
6c3e36af8f only configure programs which compile without GUI when building wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:34:41 +00:00
Václav Slavík
6b9d41a5ea bk-deps fixes and win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:59:09 +00:00
Václav Slavík
86ec293520 no need for --enable-soname anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:54:06 +00:00
Václav Slavík
08b3ac36d9 find available samples, demos and contribs at runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:52:07 +00:00
Václav Slavík
01aa586397 Mac OS X fixes for ac-2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:23:43 +00:00
Václav Slavík
e6cc62c672 moving to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 21:56:41 +00:00
Václav Slavík
b9fbba05ef samples configuration didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:51 +00:00
Václav Slavík
fe0895cf82 new build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:50 +00:00
Vadim Zeitlin
32b38f99ce GNU/Hurd patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 12:48:38 +00:00
David Elliott
c1ff26f55f Removed forced default no for wxUSE_SLIDER and wxUSE_COLOURDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:22:15 +00:00
David Elliott
8b389fab25 DEFAULT_wxUSE_TABDIALOG=yes for wxCocoa (Generic notebook)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 20:54:10 +00:00
Václav Slavík
d2739ea6db added htlbox to samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 14:27:04 +00:00
Gilles Depeyrot
9711d31ed2 partially applied SF #753787 to correct wx-config --rezflags which was
refering to top build dir instead of install dir


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 08:36:15 +00:00
Vadim Zeitlin
210c92a367 try to determine the correct SOCKLEN_T value harder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:48:43 +00:00
Roger Gammans
fd3d753463 Make changes to configure to fix mbug noted by David Elliot .
(fix is based on david's patch ).
 Add odbc library status to the summary provided by configure.

 Fix typo it prologio test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 10:52:20 +00:00
Vadim Zeitlin
b6de9890a4 removed wxUSE_X_RESOURCES -- was unused anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:44:55 +00:00
Vadim Zeitlin
1b86c3ac37 give error if --enable-prologio/resources were given -- this is better than ignoring them silently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:41:26 +00:00
Roger Gammans
8647bec62d Change '--with-odbc' to use the WX_ARG_SYS_WITH macro instead of
the WX_ARG_WITH macro. Add some extra rules to find the new correct
linker flags.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:09:53 +00:00
Mattia Barbon
7bb2947d52 Added --enable-accessibility switch to configure
(off by default). Fixed makefile for the accessibility
sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:06:46 +00:00
Vadim Zeitlin
ef33c57631 fixed configure for autoconf 2.5x (patch from Olly Betts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 13:31:09 +00:00
David Elliott
e5a87141b4 Use (generic) text dialog for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 01:53:55 +00:00
Vadim Zeitlin
89e3b3e448 fixed syntax error in configure.in; regenerated configure after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:18:57 +00:00
Vadim Zeitlin
021fde89a6 don't suppose that libs GL and GLU arei n the same directory (bug 699289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:11:49 +00:00
Vadim Zeitlin
260d684906 trying to fix threads compilation options: use -Ethreads under UnixWare, don't use -pthreads under IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:02:02 +00:00
Vadim Zeitlin
4a8900f257 added UnixWare recognition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:32:22 +00:00
Mattia Barbon
f7f78039d2 Add tests for XShape extension API in configure,
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
David Elliott
64440d7734 Added preliminary resource fork support for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:14:35 +00:00
David Elliott
de6dab5f7c Allow wxUSE_DIRDLG and wxUSE_TREECTRL for wxCocoa (both are generic)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:05:24 +00:00
Julian Smart
2fc9385a2c Removing deprecated classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 22:47:33 +00:00
Robin Dunn
1542ea396a Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Julian Smart
f7556ff05f Removed old grid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:50:10 +00:00
David Elliott
9b4d9d5638 Enable the choice dialog on wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 16:07:34 +00:00
Julian Smart
2ab25aca26 Removed obsolete wxDate and wxTime classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:14:19 +00:00
David Elliott
ac0c4cc396 Added support for building wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 05:13:45 +00:00
Mattia Barbon
521196a26a Added configure test for const_cast<>(), and enabled it
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Mattia Barbon
da494b405d Added new __WXMOTIF20__ macro, which is true if the Motif version
is 2.0 or higher.
  Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
  Miscellaneous cleanup; used wxXmString in some more places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Vadim Zeitlin
ddb4769e7c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:49:37 +00:00