Stefan Neis
ddfed775ab
Compilation fix for Watcom (on OS/2).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 13:40:43 +00:00
Stefan Neis
65f768cf63
Changed control name constants from wxChar to char according to revision 49873
...
(applying patch #1833732 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 22:33:50 +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
Vadim Zeitlin
f36e602b3f
make various control names constants of type char, not wxChar, as this is more compatible with the old ANSI build and it doesn't make much sense to use wchar_t for ASCII strings anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 21:37:46 +00:00
Stefan Neis
b1b09544bc
Compilation fix (patch #1829901 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 22:22:14 +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
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
Vadim Zeitlin
becac1ef57
added wxToolTip::SetAutoPop() and SetReshow() (patch 1768804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:57:36 +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
Vadim Zeitlin
f28b24bb6a
removed all MSW-specific options from this file, what were they doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 13:06:32 +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
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
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
Stefan Neis
585892aac6
Another compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:40:39 +00:00
Stefan Neis
6fad7ae1d5
Added declaration of new method (still to be implemented).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:15:25 +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
9fcd0bf7f3
added wxListCtrl::SetItemPtrData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:53:21 +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
Robert Roebling
621b83d9b3
Made device to logical and vv conversion methods
...
virtual and implement them like any other method
in the wxDC classes, not only in the their files
but somehow belonging to the wxDCBase class.
This is required for plugging in differnt DC backends
with different conversions.
Ideally (and absolutely possible ) all these methods
should be removed and just the one in wxDCBase
should stay using values set in the various
derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 21:28:29 +00:00
Stefan Neis
951f68d01c
Adapted to API changes with respect to GetTextExtent (patch #1709152 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 10:04:34 +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
55bfbcb92b
(blind) compilation fixes after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:31:08 +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
b7276b44ce
compilation fixes after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:18:54 +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
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
47a8a4d5cc
make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:01:53 +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
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
73b30256a0
default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Włodzimierz Skiba
ec02a2f7de
stub for wxOS2 region ctor from points.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:35:39 +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
Stefan Neis
a4e15a8d05
Added deep copy of bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:52:56 +00:00
Vadim Zeitlin
86e75e59ab
removed inline from the method which is not inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 21:37:00 +00:00
Stefan Neis
459f812bad
Generalized compilation fix for old compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:16:01 +00:00
Stefan Neis
cd7ff8087b
Dummy implementation for copying bitmaps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:01:32 +00:00
Vadim Zeitlin
7aa920b5a5
blind compilation fixes for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Vadim Zeitlin
a3ab1c1801
renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
...
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +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
c63312c472
GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:04:27 +00:00
Stefan Neis
4a4bf7eefb
Compilation fix for old GCC versions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 08:07:51 +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
Stefan Neis
7b44d740f5
Add method declaration needed for wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:19:58 +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
17b1d76b4a
Correct 'markup' for GetResourceHandle after recent change in wx/gdiobj.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 11:58:28 +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
Mart Raudsepp
ebd0940b74
Fix wxOS2 compilation, as reported by Lauri Nurmi. Hopefully no other ports are similarly affected from the constification changes to wxBitmap..
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:09:20 +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
1d6fcbcc70
added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Paul Cornett
452418c4b0
Move some things to wxBitmapBase to avoid much duplication.
...
Use proper const for XPM data, and const void* for arbitary bitmap data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +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
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
8a16d7370e
The Great wxRegion Refactoring:
...
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
(MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
not implementing it) and added IsEqual() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +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
Julian Smart
3306aec124
Added DoLoadFile, DoSaveFile to wxTextCtrlBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:40:33 +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
Włodzimierz Skiba
8df950a694
[ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:14:26 +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
09fe7dc672
Avoid conflict between new transparency API and old background support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:37:25 +00:00
Stefan Neis
27875fd021
Removed no longer needed "DECLARE_EVENT_TABLE()" completing the previous change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 07:36:37 +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
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Václav Slavík
be2001fedd
moved duplicated wxRegionContain definitions to wx/region.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Stefan Neis
744c594651
Fixed (?) problem in region handling which caused major redraw problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Stefan Neis
8e372bbe07
Added implementation for wxGetKeyState and wxGetMouseState.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Stefan Neis
331f1e07ce
Fixes to sizing and others, according to patch #1507207 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:11:58 +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
Włodzimierz Skiba
7c90392a61
Fix for wxOS2 built with common prt of setup0.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:57:30 +00:00
Stefan Neis
1ebd017e14
Partly reverted changes to Get(Current)Selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Włodzimierz Skiba
3a7458677b
AUI under wxOS2 build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:07:42 +00:00
Stefan Neis
d92f5f03c9
Made additional error codes available.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:19 +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
Paul Cornett
e7445ff8ee
move some data definitions to more appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Paul Cornett
9cdf21473a
unused declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Paul Cornett
813b6b3f88
correct wxString forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:44:22 +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
Vadim Zeitlin
141d782d56
misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Robert Roebling
b50747ea53
Trying to commit wxDirDialog patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:44:29 +00:00
Włodzimierz Skiba
6b5d2431fc
wxOS2 build fixes after wxColourBase introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:34:26 +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
Włodzimierz Skiba
40ff126ac4
Deprecated and obsolete parts marked up for backward compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:01:16 +00:00
Stefan Neis
0934d91c7b
Fixed GetSelection to behave the same as for the other ports, added
...
GetCurrentSelection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 20:31:46 +00:00
Włodzimierz Skiba
ca3e85cfa8
Better backward compatibility and deprecation markup for interface deprecated in comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Vadim Zeitlin
5981cd22f3
really disable wxUSE_DISPLAY for wxMGL and wxOS2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 14:17:42 +00:00
Włodzimierz Skiba
989ab1e5a6
Line-up deprecated interface of wxTreeCtrl between ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:11:20 +00:00
Włodzimierz Skiba
027d45e8fc
Back to unsigned int count in wxTreeCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 23:46:43 +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
Vadim Zeitlin
ef1717a963
wxDisplay cleanup/rewrite:
...
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
single display-only wxDisplay implementation (but 2 versions of Mac
Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +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
Robin Dunn
06db67bcb0
Applied Patch #1424869 : Implement wxListCtrl::SetItemColumnImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Stefan Neis
9e87870780
Added handling of dashes (patch #1438894 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 16:53:11 +00:00
Włodzimierz Skiba
c644b82e76
Missing wxPen (dashes) members.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 10:45:38 +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
Robin Dunn
208458a7f5
Patch from Tim Kosse to add supoprt for wxListCtrl::OnGetItemColumnImage
...
which enables images to be specified for columns other than zero in
virtual list controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 23:29:02 +00:00
Włodzimierz Skiba
0e2a14e5e3
Fixes for building wxOS2 shared with OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 13:59:55 +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
Stefan Neis
a4ebf7ba61
Integrated fixes for sizing/positioning; cleanup; removal of handle/window
...
association in dtor. (All according to patch #1396667 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 23:43:45 +00:00
Stefan Neis
37ac8a5f21
Fixed label handling (translating for accelerator handling only for relevant
...
classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:46:06 +00:00
Stefan Neis
713d144145
Improved size handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:37:54 +00:00
Stefan Neis
59fb774d92
Applied patch #1396039 (Notebook tab bitmaps)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:52:50 +00:00
Stefan Neis
ea8ca011a3
Fixed GetIcon to keep up with return type change on all other platforms.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 14:37:51 +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
Mart Raudsepp
da9e956384
Make wxJoystick::GetNumberJoystick a static method, as the number of
...
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Włodzimierz Skiba
c0089c96ec
Minor cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 07:40:12 +00:00
Włodzimierz Skiba
6d3d756a6a
Macros for simplified testing Open Watcom version and required tweaks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
743e24aa72
Get/SetTitle only for wxTopLevelWindow (wxOS2 part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 21:13:03 +00:00
Włodzimierz Skiba
cb7d73757f
Support for automatic setup.h in OS/2 with OW builds. __WXOS2__ final removal. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 16:01:45 +00:00
Stefan Neis
fbf618dff8
Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
...
- similar to __UNIX__ - or __WXPM__ when specific to the port - similar
to symbols __WXMOTIF__ or __WXGTK__).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:42:59 +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
1a1498c08b
Fix for mistake with const for non pointer/reference with corrections in documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb
wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +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
Włodzimierz Skiba
84882850e5
wxCheckListBox cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-29 10:00:16 +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
Michael Wetherell
20ceebaa87
Fixes for include guards, patch 1256967 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +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
Włodzimierz Skiba
d48ba93329
Wrong flag correction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-21 10:32:41 +00:00
Stefan Neis
c90c34007a
Added (dummy) handler for loading bitmap from file instead of resource.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 23:27:28 +00:00
Włodzimierz Skiba
49fe461056
wxOS2/OW warning and build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:41:50 +00:00
Michael Wetherell
f2555abd7a
Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Vadim Zeitlin
85fa5d02d8
removed (unused since quite some time) wxUSE_ITSY_BITSY
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:31:11 +00:00
Vadim Zeitlin
91ebae296d
removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Włodzimierz Skiba
c40158e40b
Corrections for future OW 1.4. Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-26 09:05:27 +00:00
Włodzimierz Skiba
b63269cabe
Re-adding setup0.h for OpenWatcom makefile build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 13:31:06 +00:00
Włodzimierz Skiba
7e1e696511
wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:18:43 +00:00
Stefan Neis
93599ac045
Possibly to allow including both os2/private.h and GUI's private.h for
...
X11 based builds on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 13:25:39 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Włodzimierz Skiba
e2effeb988
Use treebase.h for enum duplicated in port/treectrl.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 10:28:28 +00:00
Julian Smart
3c203a1851
Removed redundant cursor files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 20:39:06 +00:00
David Webster
edf1dfa16d
Unicode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 01:12:00 +00:00
David Webster
6b82ff6f9f
New classes for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:04:37 +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
Vadim Zeitlin
1de1196ab3
gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:13:30 +00:00
Włodzimierz Skiba
fa50c0e3bf
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@32329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:52:31 +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
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Włodzimierz Skiba
cb00a262dc
wxWindow::GetClientAreaOrigin duplicated wxWindowBase method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 10:49:35 +00:00
Stefan Neis
097338d747
Removed setup0.h - we are using configure generated setup.h on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 16:54:48 +00:00
Włodzimierz Skiba
7d8268a1d6
wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Włodzimierz Skiba
52f2ad0899
Common wxListCtrl control name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 13:07:44 +00:00
Włodzimierz Skiba
630ad6c6b6
Common default notebook name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
Włodzimierz Skiba
a6fb8636e5
Old API deprecated. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 21:17:16 +00:00
Włodzimierz Skiba
1729813a8d
Old API clearly deprecated.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 19:25:02 +00:00
Włodzimierz Skiba
e2bcbdfbc7
Metric conversion constants not doubled in each port code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:25:59 +00:00
Włodzimierz Skiba
e951b8e4e6
Move unused values into 2.4 compatibility. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 12:22:51 +00:00
Włodzimierz Skiba
917be7ed06
wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:43:18 +00:00
Włodzimierz Skiba
c5789d1526
Use Get*Box instead Get*Region if you are asking about position and size. And it is enough to have it in base class only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 15:48:50 +00:00
Włodzimierz Skiba
cb9d5bd07e
wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Włodzimierz Skiba
ab9d0a8ca3
IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Stefan Neis
2461cfa0d9
Added support for compiling with wxUSE_STL set to 1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 18:39:30 +00:00
Vadim Zeitlin
81152407d0
removed 2.0 compatibility stuff (patch 1054261)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 18:59:51 +00:00
Ryan Norton
c8a50408fb
setp.h changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:58:40 +00:00
Stefan Neis
175bb578e0
Added wxStandardPaths implementation for OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 22:14:04 +00:00
Stefan Neis
a66dece0c5
Removed list of modeless windows (apparently no longer needed).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 13:46:06 +00:00
Stefan Neis
86dc230162
Fixed handling of modal dialogs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 12:08:25 +00:00
Stefan Neis
21708c7331
Added stubs for OS/2 to new printing system.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-21 21:32:57 +00:00