Commit Graph

430 Commits

Author SHA1 Message Date
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
a0680daf77 regenerated after the last change of setup_inc.h (changes in comments only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 00:55:08 +00:00
Michael Wetherell
8bb9d852a3 Move the #if disabling wxUSE_STD_STRING for watcom/dmc/vc5 into setup.h so
that users can edit them easily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 00:09:15 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
55ccdb93e4 COW cleanup patch (1583966):
1. perform deep comparison for the classes for which it makes sense in the
   ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
   not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
80475016d1 set wxUSE_STD_STRING to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:16:08 +00:00
Michael Wetherell
916af76f40 Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
wxArchiveFSHandler for compatibilty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Vadim Zeitlin
3af706cc31 added TGA handler (somewhat modified patch 1393912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:58:25 +00:00
Julian Smart
f415cab9ef Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00
Michael Wetherell
26e422a9ad Add wxUSE_TARSTREAM and wxUSE_FS_ARCHIVE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:27 +00:00
Michael Wetherell
f8f6c91a0f Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:47:07 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Robin Dunn
432efcb004 wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Vadim Zeitlin
ee2ec18e88 moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
b7cacb43db add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Vadim Zeitlin
f05b5b774f moved wxUSE_MS_HTML_HELP back into setup_inc.h (undoing change of rev 1.41) as it's needed for configure builds too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:48:48 +00:00
Vadim Zeitlin
f6519b40fe added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
9211cf3c43 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:59:09 +00:00
Robin Dunn
e88f652451 Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:42:31 +00:00
Mattia Barbon
3e0071d949 Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Vadim Zeitlin
4353a8df6e add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 22:55:28 +00:00
Vadim Zeitlin
ca5c6ac3f4 Added wxUSE_VARIANT and the related checks, also added wxUSE_OLE_AUTOMATION
to guard wxAutomationObject code which depends on wxVariant


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:12:56 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Vadim Zeitlin
aea95b1c3a removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Włodzimierz Skiba
374e9b153f Blind wxTinderbox fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:52:50 +00:00
Vadim Zeitlin
2158f4d798 moved all wxDialog event handlers to wxDialogBase to avoid code duplication
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893 centralized Esc key handling for closing the dialogs in wxDialogBase:
1. added wxDialogBase::OnCharHook() and removed this event handler from
   all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
   override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
   to wxDialogBase from wxMSW wxDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:36:10 +00:00
Włodzimierz Skiba
925f774066 Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 14:31:55 +00:00
Włodzimierz Skiba
bf3c1a1962 Fix for function access shown in Tinderbox builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:53:55 +00:00
Vadim Zeitlin
0c9da2fa86 moved wxUSE_MS_HTML_HELP to MSW-specific setup.h, it's not used on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:04:56 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
85ab460e7d miscellaneous wxFont enhancements (patch 1496606):
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
21849f3a8e added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:46:37 +00:00
Włodzimierz Skiba
40989e46b8 [ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Paul Cornett
900ca9b89a remove unneeded gdiobj.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 16:47:15 +00:00
Vadim Zeitlin
5f2c545c7f regenerated using build/update-setup-h to have wxUSE_DISPLAY and wxUSE_DATAVIEWCTRL changes in all versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:03:10 +00:00
Vadim Zeitlin
f516d98637 create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Włodzimierz Skiba
1c067fe3c1 Removed every usage of obsolete wxTLW flags. 2.6 compatibility markup for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 18:07:22 +00:00
Włodzimierz Skiba
7a952d4cbd More null virtuals in wxRadioBoxBase (see: 'Developers_Notebook-Incomplete-API' in wxWiki)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 22:50:51 +00:00
Vadim Zeitlin
aa61d35253 replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00