Václav Slavík
b150bffc9e
fixed linking with visibility enabled on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase) -- do this in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:37:06 +00:00
Vadim Zeitlin
e36a173933
added wxNotificationMessage and implemented it generically and natively for Maemo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:56:13 +00:00
Vadim Zeitlin
4f7d425f60
use correct WXDLLIMPEXP_FWD_XXX (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 14:13:50 +00:00
Paul Cornett
b2e10daccc
make DoSetSizeHints protected, remove parameter defaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 06:12:56 +00:00
Vadim Zeitlin
8575ff507f
experimental IPv6 implementation (patch 1771429)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 20:53:33 +00:00
Julian Smart
677dc0ed1a
Border corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:44:13 +00:00
Julian Smart
dc797d8e1b
More border rationalisation. GetDefaultBorder is now mostly defined in base class files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:10:34 +00:00
Vadim Zeitlin
978c6e4113
implemented wxTextEntry for wxMotif, made wxComboBox derive from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 23:13:09 +00:00
Vadim Zeitlin
1e6b2edfc8
remove ODBC and DBgrid libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
01e6aa1e2b
define wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings during wxMotif build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:56:06 +00:00
Vadim Zeitlin
d41ef7b547
fix warning about visibility attribute ignored on non-class types (which was given for wxGetClipboardData only but change the other functions too for consistency)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:53:28 +00:00
Vadim Zeitlin
0cf3e587a2
added new and improved wxFileCtrl implementation (patch 1763164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Julian Smart
52af3158e9
Menu label consistency changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 17:54:59 +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
Václav Slavík
6991087b08
fixed wxMotif to compile in Unicode mode (this is not full Unicode support, all strings must be representable in current locale's charset, similarly to MSLU)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 16:43:31 +00:00
Vadim Zeitlin
42f9292efb
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:05:11 +00:00
Vadim Zeitlin
ff42758536
added wxUSE_FONTENUM for wxFontEnumerator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 02:20:00 +00:00
Vadim Zeitlin
4f167b46b4
added wxUSE_TASKBARICON; corrected condition for generating the taskbar sample makefile in configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:02:28 +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
Václav Slavík
7da37f2c5d
make it possible to build in ANSI build on Windows again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:55:18 +00:00
Vadim Zeitlin
b0fc907f70
added wxUSE_SVG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +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
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Paul Cornett
0728199b91
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
Vadim Zeitlin
56eeb97339
add wxUSE_EDITABLELISTBOX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 19:23:44 +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
Václav Slavík
a1eb65c246
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 22:02:19 +00:00
Vadim Zeitlin
2afb9e1690
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
...
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
for this the real dialog creation is now done on in ShowModal() in all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +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
Robert Roebling
04ab8b6ddf
Moved all the coordinate system calculation to wxDCBase
...
and thus removed all the duplicated code in all wxDC
classes.
Problematic is that wxSVGFileDC and wxPostscriptDC inherit
from wxDC and therefore include platform specific code
(also before this change) so I chose to override all
SetLogicalOrigin() etc. methods in these classes and
call their wxDCBase methods thereby circumventing the
platform dependent code.
I'm afraid the Mac code will require updating, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 11:05:45 +00:00
Vadim Zeitlin
c94f845b16
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 01:49:47 +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
Paul Cornett
29825f5fc4
add wxUSE_STC wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 05:48:09 +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
ea098413d0
made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
...
SetIcons() in most of the ports, now do it in all of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:40:55 +00:00
Mattia Barbon
105fbe1ffa
Rework wxMotif font/color inheritance so it works
...
like in the other ports. Avoid setting foreground/background
color for windows and let the toolkit use the natural color.
As an intermediate step font is still explicitly set.
Handle the cases where m_foregroundColour, m_backgroundColour ir m_font
are not initialized.
Set default (overridable) X resources to emulate the old look.
Unify wxMOTIF_NEW_FONT_HANDLING with wxMOTIF_USE_RENDER_TABLE.
Minor unrelated (sizing) fixes to wxCheckListBox, wxStaticText, wxTextCtrl.
Tagged with MOTIF_BEFORE_COLOUR_FONT_INHERITANCE before the changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 21:18:33 +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
9005f2edfd
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
...
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
non-X11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 02:57:55 +00:00
Vadim Zeitlin
551fe9528a
added wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:53:06 +00:00
Vadim Zeitlin
07d02e9ee0
fixed all the other ports broken by controls labels in wxToolBar patch commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:57:20 +00:00
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