Commit Graph

454 Commits

Author SHA1 Message Date
Julian Smart
aa1b2573f3 Added XRC handler for wxPropertySheetDialog (Sander Berents)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:04:31 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
e4f9c52180 removed unused src/gtk/main.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:54:55 +00:00
Vadim Zeitlin
c105dda081 native wxHyperlinkCtrl implementation for GTK+ 2.10+ (patch 1661851)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:12:47 +00:00
Vadim Zeitlin
0db8bb5866 removed wx/wave.h which was deprecated since 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:55:36 +00:00
Václav Slavík
42b0d8b96d implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLevelWindow and wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 15:04:49 +00:00
Václav Slavík
c3a58b249e enable wxFontMapper in wxDFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 14:05:07 +00:00
Vadim Zeitlin
ff202bcb56 added wx/richtext/richtextstyles.h (bug 1624364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:29:54 +00:00
Václav Slavík
6b44a33553 moved wxX11's wxSocketTable to private wxSocketEventDispatcher class reusable in other ports (backport from SOC2006_SOCKETS branch); use it in wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 14:13:57 +00:00
Robin Dunn
3f7f284d55 Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchField)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00
Vadim Zeitlin
588f410058 moved assertdlg_gtk.[ch] to GTK_LOWLEVEL_SRC/HDR to fix wxUniv/GTK build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 01:14:25 +00:00
Robert Roebling
d1a34cbf25 Actually compile GTK+ native assert dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:51:43 +00:00
Václav Slavík
d7ae4a6264 moved wxMGL's font management code to common so that it can be reused by wxDFB; implemented wxDFB part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 20:45:57 +00:00
Vadim Zeitlin
ec80cb6ec1 include advanced Unix files in wxMGL build under Unix (trying to fix wxMGL link errors in the tinderbox...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 12:32:31 +00:00
Vadim Zeitlin
87c2432d22 temporarily disable XRC richtext handler to avoid breaking the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:34:56 +00:00
Julian Smart
fd4344d64d Added wxRichTextCtrl XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 15:45:11 +00:00