Vadim Zeitlin
2a015b8917
replaced c_str() with mb_str() to fix compilation after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:52:35 +00:00
Vadim Zeitlin
87d3473070
removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:11:52 +00:00
Vadim Zeitlin
39b61aa3eb
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:48:53 +00:00
Václav Slavík
abb6edd197
added WXWIN_COMPATIBILITY_2_8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:02:14 +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
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
Vadim Zeitlin
f8855e4725
great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:51:23 +00:00
Włodzimierz Skiba
b73e73f912
Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 17:20:50 +00:00
Mart Raudsepp
63ec432bd7
Move constant strings to .rodata/.data.rel.ro ELF segment from .data by making them really const.
...
If any more exotic toolchain decides to not export these strings into the core library anymore, let me know. Try to
compile the notebook sample, for example.
TODO: Move strings not meant for wxCore out of wxCore to the appropriate library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 14:59:55 +00:00
Vadim Zeitlin
21e0a4d5f1
1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
...
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft
sorry in advance for any compilation breakage on the platforms I can't test on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Włodzimierz Skiba
34097680c0
Get/SetTitle only for wxTopLevelWindow (wxMotif part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 20:58:02 +00:00
Julian Smart
5d7836c47d
Added wxRichTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 12:52:47 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
88ef3a57a4
wxPalette unified. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 14:37:43 +00:00
Włodzimierz Skiba
355b4d3de5
wxMotif for OS/2 adjustements. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:10:44 +00:00
Włodzimierz Skiba
edc536d358
wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Mattia Barbon
51c9a5db64
Implemented wxMenuBar::Insert and wxMenu::Insert.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-30 09:15:52 +00:00
Mattia Barbon
eb9d223a9a
Simplify preprocessor guards for render tables and new
...
font handling. Remove unused method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-30 09:12:58 +00:00
Włodzimierz Skiba
a0fe0a18e5
wxItemContainerImmutable::FindString unified.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 21:20:22 +00:00
Włodzimierz Skiba
853dcc57c6
wxItemContainerImmutable::FindString unified.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 16:54:43 +00:00
Vadim Zeitlin
81f6ea4a29
removed #errors in 2.7 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:39:23 +00:00
Vadim Zeitlin
53c5fb20ed
enable new font handling (working for i18n applications) by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:35:11 +00:00
Vadim Zeitlin
02bcd285fa
re-renamed DoCreate() to XmDoCreateTLW() to avoid virtual function hiding in other classes with their own DoCreate() and re-removed DoDestroy()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:29:58 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Michael Wetherell
2e2a55b22e
Compile fixes for the const patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 12:53:28 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
219ee9ba9d
really fix binary backwards compatibility for wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-20 20:33:47 +00:00
Vadim Zeitlin
783e0c6d48
temporarily reverted binary backwards incompatible DoCreate to XmDoCreateTLW renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 12:46:30 +00:00
Vadim Zeitlin
e6b915ed4f
temporarily reverted binary backwards incompatible DoCreate to XmDoCreateTLW renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-19 10:36:18 +00:00
Vadim Zeitlin
c74b77ed51
get rid of wxClientDC::m_oldFont, it wasn't really used (this fixes crash introduced by last change to this code)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 01:19:28 +00:00
Vadim Zeitlin
2263a14efc
64 bit compilation fix (pointer can't be cast to int); code simplification (don't duplicate code in GetArm/LabelPixmap)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:54:54 +00:00
Vadim Zeitlin
f58585c091
renamed wxMotif::wxTLW::DoCreate() to XmDoCreateTLW() to avoid conflicts with
...
DoCreate()s in derived classes and removed DoDestroy() entirely because there
was really no advantage in having it (it can't be called fom base class dtor)
also made XmDoCreateTLW() pure virtual which required changing
IMPLEMENT_DYNAMIC_CLASS into IMPLEMENT_ABSTRACT_CLASS for wxTopLevelWindow in
common code but this made sense anyhow because wxTLW should be an ABC anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-14 14:36:02 +00:00
Vadim Zeitlin
f1db433a3b
added wxMOTIF_STR() macro casting away string literal constness for use with Motif functions taking char *; use it when needed to suppress warnings about string literals being treated as non-const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 16:49:07 +00:00
Vadim Zeitlin
3f62badb5f
unihde base class virtual functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 16:37:11 +00:00
Vadim Zeitlin
1d54b9d297
fixed virtual function hiding for LoadBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 16:04:10 +00:00
Mattia Barbon
13abe5c0c8
Improved wxStaticBox border calculation for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:07:34 +00:00
Mattia Barbon
4e025aa206
Implement GetMinSize for wxMotif wxButton. Helps solfing sizing
...
problems in generic common dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 07:51:59 +00:00
Mattia Barbon
b0b2263b50
Fix the condition to always #define wxMOTIF_NEW_FONT_HANDLING
...
(currently always defined to 0 for safety).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 00:41:18 +00:00
Michael Wetherell
94c7b08817
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 00:53:09 +00:00
Mattia Barbon
996994c714
Allow displaying Japanese character with wxMotif/ANSI under a
...
Japanese EUC-JP locale:
- add a #define (wxMOTIF_NEW_FONT_HANDLING) defaulting to
off
- factor the code for getting text extents in a central
wxGetTextExtent function
- when the new font handling is enabled load a fontset instead of
a single font. For non-Japanese locales this should load a fontset
containing a single font.
- on a Japanese locale set the default point size to 15: the Japanese
fonts I have are much more readable like this.
- do not set the wordwrap property for multiline wxTextCtrl with
OpenMotif 2.1, otherwise it crashes when text is added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 09:42:16 +00:00
Mattia Barbon
7360894949
Fix crash on exit with Lesstif (and possibly Motif 1.x).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 19:11:21 +00:00
Vadim Zeitlin
b45f79ecbf
give an error if wxMotif is built in Unicode mode (to prevent bug reports like 1177193); moved wxMotif-specific checks in its own wx/motif/chkconf.h; moved wxMac stuff remaining in wx/chkconf.h to wx/mac/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 20:54:56 +00:00
Vadim Zeitlin
0d97c09023
added orient parameter to wxMDIParentFrame::Tile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:27:49 +00:00
Vadim Zeitlin
294ea16de3
implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Włodzimierz Skiba
e5b5075810
Base for wxMessageDialog with common checks for style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00
Mattia Barbon
899c6fad26
Revert my last commit, GetClientAreaOrigin was already implemented
...
in common code by ABX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 20:18:09 +00:00
Mattia Barbon
53ce655c5b
Add implementation for pure virtual method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 15:51:46 +00:00
Włodzimierz Skiba
789f679516
Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:39:25 +00:00
Włodzimierz Skiba
1a87edf286
Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Vadim Zeitlin
4b4f6e0fdd
use WX_DEFINE_ARRAY_PTR instead of WX_DEFINE_ARRAY to suppress warnings about operator->()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 10:14:42 +00:00