David Elliott
90f6792f53
Fix up NSSlider code to not use class posing and instantiate the proper type (now WXNSSlider) from slider.mm.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:12:06 +00:00
Vadim Zeitlin
35c63208f0
add wx/univ/tglbtn.h to wxUniv headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 01:00:58 +00:00
Vadim Zeitlin
a236aa2058
many wxItemContainer-related changes:
...
1. the main function for item insertion is now DoInsertItems() which allows
for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
itself, the derived classes don't have to distinguish between void and
object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
in wxGTK combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Vadim Zeitlin
6619edf0ea
do platform-specific checks after ensuring that the symbols we use are defined; extract wxGTK-specific checks to wx/gtk/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 15:47:11 +00:00
Vadim Zeitlin
a187327964
Added wxUSE_CONSOLE_EVENTLOOP and wxUSE_SELECT/EPOLLDISPATCHER guards;
...
put checks for them in the new Unix-specific wx/unix/chkconf.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 19:06:18 +00:00
Vadim Zeitlin
4db03d266b
added functions for base64 en/decoding (replaces patch 1739431)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Vadim Zeitlin
5458b18a18
fix from Francesco for the latest version of wxPresets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 23:11:55 +00:00
Václav Slavík
22ca9ff5b2
don't call <del-flags> for flags that weren't added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:03:58 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Vadim Zeitlin
cde76cf2a9
added wxAtomicInc/Dec() functions (patch 1739486)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:14 +00:00
Vadim Zeitlin
db23ced867
remove .cvsignore files, they're useless with svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Václav Slavík
4fc1c0f091
made wxUSE_UNICODE=1 the default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
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
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
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
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
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
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