Commit Graph

1231 Commits

Author SHA1 Message Date
Vadim Zeitlin
5d88a6b579 added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:08:51 +00:00
Václav Slavík
52de37c78f 1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00
Václav Slavík
abde328337 fixed to the newly added crt.h header:
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 14:03:45 +00:00
Vadim Zeitlin
81df6af392 undid unnecessary renaming of src/msw/evtloop.cpp to evtloopmsw.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 14:58:11 +00:00
Václav Slavík
dad909f709 make it posible to change the compiler part of objects directory by setting COMPILER_PREFIX make variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 12:48:26 +00:00
Vadim Zeitlin
b46b1d59d6 implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 23:43:39 +00:00
David Elliott
c24937e4cc Move src/cocoa/utils.cpp to src/cocoa/utils.mm.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:58:04 +00:00
Vadim Zeitlin
c36d477458 extracted wxAcceleratorEntry code from menucmn.cpp in a separate file (this globally makes sense and also fixes link when wxUSE_MENUS==0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 22:03:27 +00:00
Paul Cornett
02191df4b1 src/gtk/data.cpp is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 19:50:51 +00:00
Paul Cornett
d5aea4245e src/gtk/utilsres.cpp is obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:57:08 +00:00
Václav Slavík
303a585db2 fixed linking in monolithic case if USE_STC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:32:58 +00:00
Vadim Zeitlin
806ad81958 readded wxEditableListBox as part of adv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:50:50 +00:00
Vadim Zeitlin
c2ca375c56 preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Václav Slavík
467175ab3f moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 10:05:55 +00:00
Václav Slavík
e7308074d8 moved vararg CRT functions wrappers to a new wxcrtvararg.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 08:04:34 +00:00
Vadim Zeitlin
498ace9e1f Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:06:45 +00:00
Václav Slavík
b1b592ad75 don't compile Scintilla sources with -Wall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 19:05:45 +00:00
Václav Slavík
819d77af7c fixed the order of aboutdlg.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 18:27:03 +00:00
Vadim Zeitlin
620c9408b8 rebaked after wxUSE_EXTENDED_RTTI and wx/flags.h addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 12:06:21 +00:00
Mattia Barbon
afc89ff455 Added --enable-extended_rtti configure switch (defaults to disabled).
Fix compilation when WXINTL_NO_GETTEXT_MACRO is defined.
  Added wx/flags.h to installed files.
  Fix XTI compilation after wxString changes.
  Fix 'virtual functions but non-virtual destructor' GCC warnings.
  Minimal XTI definition for wxOwnerDrawnComboBox (cut'n'paste
from wxComboBox, will need to be completed).
  Requires rerunning bakefile and autoconf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 10:32:01 +00:00
Vadim Zeitlin
dc3065a56f Big wxGL classes refactoring/cleanup:
1. Provide the same API, especially, but not limited to, wxGLCanvas and
   wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 17:38:55 +00:00
Václav Slavík
7dd1ae1114 added wxgl pseudotarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 20:33:57 +00:00
Vadim Zeitlin
94aff5ff86 Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
it in wxButton implementations in (almost) all ports; changed its return type
to "wxWindow *" from "void" to accommodate the ports needing the old default
item (replaces part of patch 1696563)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:18:35 +00:00
Vadim Zeitlin
a78a8f7fd5 make test_for_selected_wxbuild target optional (patch 1696363)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:45:11 +00:00
Václav Slavík
7708a26720 don't build wxscintilla lib if wxSTC is not built
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 13:59:16 +00:00
Vadim Zeitlin
97660d4213 added wxPosition helper class (extracted from patch 1671181)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:49:41 +00:00
Vadim Zeitlin
527343602e 1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
fast (which was needed for 2)
2. make it possible to return wxIconBundles from wxArtProvider
3. implement Mac-specific wxArtProvider doing (2)

(modified patch 1581960)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 19:59:51 +00:00
Robin Dunn
cf63f3d3ae More patches from FM to clean up after moving contribs. Also removes
use of wxUSE_RESOURCES


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Robin Dunn
18cea8715a Patch from FM with more bakefile tweaks and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:26:59 +00:00
Robin Dunn
54429bb380 Bakefile and other changes for new locations of STC and wxSVGFileDC.
Remove old files in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Chris Elliott
bc31c60fff get wx and tex2rtf docs only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 20:35:35 +00:00
Vadim Zeitlin
39bc0347fd added support for ellipsization and markup in wxStaticText (modified patch 1629946)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:13:15 +00:00
Vadim Zeitlin
a6e13ce4f3 added <set-wxlike> tag (patch 1691429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:48:22 +00:00
Vadim Zeitlin
7c9cc57c02 rebaked with the fix for the directories with spaces in their names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:43:46 +00:00
Vadim Zeitlin
a970aa7a50 added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:42:30 +00:00
Chris Elliott
d2499ec278 remove contrib docs from daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 12:13:09 +00:00
Chris Elliott
c1bf673475 add tex2rtf docs to routine build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 11:03:51 +00:00
Chris Elliott
61d31e9528 remove contrib docs from daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:17:36 +00:00
Chris Elliott
08e8a24d33 uppercase CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:16:38 +00:00
Chris Elliott
14980f5162 remove build of contrib docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:04:32 +00:00
Chris Elliott
7c5e27c0e5 only get todays files from top level dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 09:01:22 +00:00
Václav Slavík
a7ea63e21f split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 11:35:07 +00:00
Vadim Zeitlin
5a5f4ba417 rename wxlike-libdirname to just wxlike-dirname (patch 1685279)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:56:15 +00:00
Václav Slavík
e80118cfb9 added makefile targets for building individual libs, e.g. 'make wxnet'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:12:19 +00:00
Václav Slavík
dd0ef3324b split wxchar.h into several smaller headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:39:58 +00:00
Václav Slavík
c9f7896861 first phase of transition to unified Unicode build:
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
7b2d175c47 regenerated after wxSelectDispatcher addition (patch 1618976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:43:44 +00:00
Vadim Zeitlin
30c45bdd06 refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:45:12 +00:00
Vadim Zeitlin
fa5f72b36f added wrapper functions allowing to postpone loading of GDI+ DLL until it's really needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:43:33 +00:00
Chris Elliott
fdf19d289f build 2.8.2 html and htb docs on windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 10:39:58 +00:00