Commit Graph

5391 Commits

Author SHA1 Message Date
Vadim Zeitlin
7579971933 2 step creation for wxDocMDIChildFrame (patch 661657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:25:27 +00:00
Vadim Zeitlin
d95525989d added wxSocket::IPAddress() (patch 694119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:15:00 +00:00
Vadim Zeitlin
2348a84293 made wxTextInputStream Unicode safe and general cleanup (patch 653775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:55:57 +00:00
Vadim Zeitlin
f9133b3200 added support for POST method and alternate ports (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:22:47 +00:00
Vadim Zeitlin
30ed6e5c89 GetClientData(int n) should be const (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:55:04 +00:00
Vadim Zeitlin
997176a346 added missing #include <wx/defs.h> (parts of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:48:53 +00:00
Vadim Zeitlin
2d2d4fc709 test for Mac before Unix as __UNIX__ is defined as well when building wxBase under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:34:51 +00:00
Vadim Zeitlin
b93907ee8a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:34:29 +00:00
David Elliott
9d180f3ad0 Implement wxWindowDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:38:44 +00:00
Julian Smart
5180055b69 OnIdle -> OnInternalIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 17:15:09 +00:00
David Elliott
fcc9de5478 Store a pointer to the wxWindow in the wxWindowDC class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:56:56 +00:00
David Elliott
55c5be5e47 Avoid paint event recursion when the run loop is restarted inside the paint
event.  Usually for the purpose of showing an assertion dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:24:47 +00:00
Julian Smart
18afa2acbe Removed overloaded DoMenuUpdates function since it duplicated
wxMenu::UpdateUI()
Removed routing of menu commands to focus window under Windows
Added routing of menu commands (but not UI updates, for
efficiency reasons) to wxMenuBar before sending to frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:20:30 +00:00
Julian Smart
e39af974ef - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
  user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
  sends wxUpdateUIEvents, and can be overridden. It has a helper function
  DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
  CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
  determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
  styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
  about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
  accelerators don't always get called since menu items may still
  be disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
b0cb01589f warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:55:59 +00:00
Mattia Barbon
3e49e57746 More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:52:30 +00:00
Mattia Barbon
375894195f More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:24:26 +00:00
Vadim Zeitlin
44383ef7c6 got rid of (unused since a long time) wxNO_3D and wxUSER_COLOURS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:23:54 +00:00
Mattia Barbon
c514cd532c Blind fix for MSVC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:07:59 +00:00
Mattia Barbon
360b63dd32 Morec ompilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:58:01 +00:00
Vadim Zeitlin
d5d58a93c3 renamed wxScrollHelper::GetRect() to GetScrollRect() to avoid conflicts with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:17:56 +00:00
Mattia Barbon
a6abcf2ef8 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:41:48 +00:00
Václav Slavík
ec64c74532 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:34:04 +00:00
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Václav Slavík
b87dd6f51e much better looking selection of justified paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 18:44:34 +00:00
David Elliott
35c1cfdda1 wxBITMAP now uses XPM constructor for wxCocoa (like everything except wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:59:51 +00:00
David Elliott
a58a661464 Position the status bar properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:09:15 +00:00
Vadim Zeitlin
2f1e3c464c Refresh() didn't work as it wasn't passed to subwindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:19:10 +00:00
Robert Roebling
3a97d2db67 Upported mouse click detection change for wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:18:42 +00:00
David Elliott
f162a33801 First hack at wxBrush for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 18:53:00 +00:00
Julian Smart
0b30bb0bda Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Vadim Zeitlin
d9f7c16d4d compilation fix (extra semicolon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:58:52 +00:00
Vadim Zeitlin
0acfb5bd66 added wxEntry(char **) declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:22 +00:00
Vadim Zeitlin
01c6f3724e send more page change events (patch 750521); document this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:40:59 +00:00
Vadim Zeitlin
65bc172c97 implemented GetDefaultBorder() in wxControl, override it in some controls which don't want to have sunken style by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:35:32 +00:00
Vadim Zeitlin
b2644cc3cc compilation fix (extra semicolon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:33:35 +00:00
Vadim Zeitlin
aede4ebb26 added GetBorder(flags)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:17:30 +00:00
Vadim Zeitlin
e450aa692b wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Julian Smart
fa10c70ceb Added wxHtmlPrintout::AddFilter so the same filters used for
viewing HTML can be used for printing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:52:42 +00:00
Václav Slavík
7af0846427 wxConvGdk is not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:24:51 +00:00
Václav Slavík
fd497edead compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:54:15 +00:00
Václav Slavík
991023b473 reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:46:32 +00:00
Václav Slavík
817534abfd fixed USER_EXPORTED_ARRAY macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 15:56:30 +00:00
Vadim Zeitlin
68559fd50e fix for VC++ warnings about missing macro arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 00:02:25 +00:00
Vadim Zeitlin
9bf41e06ca added wxMAKE_UNIQUE_NAME to wx/defs.h, use it in wx/debug.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:32 +00:00
Vadim Zeitlin
c66cca2af0 added wxScopeGuard; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:08 +00:00
Václav Slavík
a7140600c9 removed WXUSINGDLL_FOO, one WXUSINGDLL is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 17:11:57 +00:00
Václav Slavík
bc5573b112 DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 16:49:37 +00:00
Václav Slavík
e433504316 workaround a Watcom build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:35:32 +00:00
Václav Slavík
344ca5315d define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
compilers because both of them use w32api


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:01:13 +00:00
Václav Slavík
ac776ec973 define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
compilers because both of them use w32api


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:50:26 +00:00
Vadim Zeitlin
192a6c88dc bring base class AddFile()s in scope manually, without using 'using'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 23:49:58 +00:00
Václav Slavík
42bf837cea fix monodll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 22:50:06 +00:00
Mattia Barbon
ddf5de5b46 Applied first part of Roger Gammans' wxHashMap patch: reduce
number of value_type() constructor calls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 21:22:05 +00:00
Stefan Csomor
22cf5eef64 apptraits for wxMac classic and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:47:59 +00:00
Stefan Csomor
4367345099 path translation (umlauts) added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:46:44 +00:00
Stefan Csomor
41f12fa982 wxMac (classic & carbon) support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:46:11 +00:00
Václav Slavík
4460b6c48b fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:18:11 +00:00
Václav Slavík
40a8832891 fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:08:53 +00:00
Václav Slavík
1fa9e5bc44 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:06:18 +00:00
Václav Slavík
687dcff3a4 added wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:03:29 +00:00
Václav Slavík
c5c570b934 define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined on command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 17:04:02 +00:00
Václav Slavík
30dc34551b fixes for MSW/DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:33:42 +00:00
Václav Slavík
6acba9a719 fixes for moving wxHTML files into their own DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:04:05 +00:00
Václav Slavík
bb24c68f35 compilation fixes for multilib/DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:00:07 +00:00
Mattia Barbon
ba8c160144 Moved some methods/classes inside COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:59:55 +00:00
Mattia Barbon
2ea4a2f552 GCC 2.95.3 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:54:50 +00:00
David Elliott
7796b3d660 Added GetNSColor() accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 17:59:52 +00:00
David Elliott
d318df4bbb Provide empty stubs for constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 17:51:08 +00:00
Vadim Zeitlin
4827630066 workaround BCC bug resulting in E2233 when building the DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 16:43:16 +00:00
David Elliott
47f1ad6a71 Provide NSAutoreleasePool instances during initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:36:09 +00:00
David Elliott
7fbc89bb02 Added CallOnInit() which allows the toolkit (wxCocoa) to do a bit of
processing around the real OnInit() call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:32:11 +00:00
Václav Slavík
eee614d37e fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 13:25:58 +00:00
Vadim Zeitlin
a8f12b67c4 fix for base class AddFile visibility and DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 13:06:21 +00:00
Vadim Zeitlin
7843d11bdc removed static methods from wxAppTraitsBase, this doesn't work well in non-monolithic DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 12:42:14 +00:00
Václav Slavík
ec6ac3eb94 this is nasty but required compilation fix, otherwise we get dllimport/dllexport mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 11:04:03 +00:00
Václav Slavík
7af1b53999 another compilation fix for multilib DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 10:45:11 +00:00
Vadim Zeitlin
f6e7cd0a19 fixed comment and docs for GetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 09:58:36 +00:00
David Elliott
87d77923a6 Removed conflicting wxEntry prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 20:48:29 +00:00
David Elliott
462bc04863 It was not acceptable to call the class method from the static initializer
because it caused the load and initialize methods to be called.  Some of the
load and initialize methods used autorelease which would lead to warnings
about memory leaks (true, though very benign).
This version delays all Objective-C calls until InitializePosers().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 20:46:34 +00:00
Mattia Barbon
f526f7526b Quick and dirty fix for building with COMPATIBILITY_2_4 off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:11:19 +00:00
Julian Smart
394285343b Fixed ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:45:49 +00:00
Václav Slavík
3d97f1823a reverted previous change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:01:44 +00:00
Václav Slavík
3d41c70801 don't required all WXMAKINGDLL_FOO defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:59:14 +00:00
Julian Smart
b85b77ae2f Removed BC++ hidden virtual function warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:44:24 +00:00
Vadim Zeitlin
3e3be693d0 got rid of wxBuffer (finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 02:09:44 +00:00
Vadim Zeitlin
bddd7a8d89 renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e fixes needed for separate DLL build to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Mattia Barbon
b3dfbbc910 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:02:59 +00:00
David Elliott
dcc7f39c44 Declare wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 17:19:15 +00:00
Vadim Zeitlin
648762b1b4 removed WXDLLEXPORT_CTORFN (was always empty anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 14:42:49 +00:00
Vadim Zeitlin
9bb1b05540 removed unused method declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:29:25 +00:00
Vadim Zeitlin
70dc287a39 removed wxFunction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
13bdd545fb we can't declare WinMain() with other arguments using Borland, revert to including windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:49:00 +00:00
Vadim Zeitlin
0fcbaf23fd include init.h as wxEntry is supposed to be declared here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:39:25 +00:00
Vadim Zeitlin
7e7d30dae4 removed old wxEntry() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:14:06 +00:00
Vadim Zeitlin
6abf9dacb0 removed old wxEntry declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:01:48 +00:00
Vadim Zeitlin
abca8ebff1 small wxGTK compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:33:30 +00:00
Vadim Zeitlin
55e90a2ea9 added empty Init/CleanUpStandardHandlers() for compatibility with the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:11:23 +00:00
Vadim Zeitlin
05e2b077c6 more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091 extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Julian Smart
65b17727e6 Added optional event sink for use with dynamic event tables
Removed comments and commented-out code re. focus window processing
from wxToolBarBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 13:11:51 +00:00
Vadim Zeitlin
db882c5431 added wxCRIT_SECT_DECLARE_MEMBER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 01:18:10 +00:00
Vadim Zeitlin
5455e22751 added release()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 15:44:08 +00:00
Vadim Zeitlin
17dbd23000 added wxIsMainThread()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:51:17 +00:00
Vadim Zeitlin
2ba721aa6c fix for compiling in wxUSE_GUI == 0 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:32:06 +00:00
Vadim Zeitlin
1d6a432423 fixed fatal crash in Create() after my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 13:12:00 +00:00
Václav Slavík
c15d9c859c fixed linker errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:33:09 +00:00
Vadim Zeitlin
2739d4f052 moved GetOSVersion() to the base traits class; implement it in platform-specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:16:04 +00:00
Julian Smart
5c2e937699 Removed 16-bit conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:47:47 +00:00
Julian Smart
9c110148e8 Corrected small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:29:33 +00:00
Julian Smart
aaace8739a Removed WIN16 references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:26:34 +00:00
Julian Smart
b073db94f2 Removed obsolete code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:10:14 +00:00
Vadim Zeitlin
1e0af0bcda added EstimateTotalHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 15:39:24 +00:00
Julian Smart
ae500232a4 Added m_ prefix to wxColourData and wxFontData members for consistency.
Fixed some typos in comments.
Fixed wizard constructor doc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:15:12 +00:00
Vadim Zeitlin
034957673c changing the number of items in wxHtmlListBox should flush the cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 10:05:13 +00:00
Vadim Zeitlin
2887179b1f compilation fixes for separate build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 01:14:22 +00:00
Vadim Zeitlin
4caf847c87 got rid of wxEvtHandler::m_isWindow, use virtual functions (overridden in wxWindow) instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 00:44:55 +00:00
Vadim Zeitlin
5fb98c22c2 extracted wxStopWatch and global timer functions in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 23:49:45 +00:00
Václav Slavík
af84819372 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 17:08:01 +00:00
Václav Slavík
7e8c564c1a split log.h into GUI and base parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 16:28:47 +00:00
Václav Slavík
60c0a8dbf4 fixes to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:09:05 +00:00
Václav Slavík
2de5a6ee23 moved AddFile(wxImage) to GUI part of library, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:59:02 +00:00
David Elliott
bf25264013 Changed bool WakeUpIdle() to void to match base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 02:10:36 +00:00
Vadim Zeitlin
f98d23fd94 a quick hack to fix wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:11:34 +00:00
Vadim Zeitlin
4f356748c6 removed #pragma interface because it results in link problems when building wxBase/wxGUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:08:31 +00:00
Vadim Zeitlin
46446cc2aa compilation fix for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:31:22 +00:00
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
David Elliott
c0e2aaa94a Only MSW has a class wxIconLocation. The other platforms have
typedef wxIconLocationBase wxIconLocation;  Apple's GCC does not like
the mismatch when forward declaring it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:27:17 +00:00
Julian Smart
3fc2f8c635 Spelling correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 14:49:46 +00:00
Vadim Zeitlin
da0766ab2a GetIcon() returns wxIconLocation, not wxIcon, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Vadim Zeitlin
3b3fe1f6e7 allow wxFileConfig be created with empty name (will take it from wxApp) (patch 749749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:45:05 +00:00
Vadim Zeitlin
3e3362daa8 added default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 00:19:38 +00:00
Mattia Barbon
3ec4107dfc Add a missing structure definition, move all rich text missing
stuff to wx/msw/missing.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:09:14 +00:00
Mattia Barbon
9795182e4a Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:06:07 +00:00
Vadim Zeitlin
376ccc457c removed Win16 horrors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:38:55 +00:00
Vadim Zeitlin
aaf7ab431b added wxIconLocation; minor fixes to wxIcon on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Julian Smart
e00a5d3ca1 Extended wxTextAttr and added wxTextCtrl::GetStyle stub
allow better rich text support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Vadim Zeitlin
a6ab05be98 added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:39:51 +00:00
Vadim Zeitlin
a434b43fd4 added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:31:19 +00:00
David Elliott
bfddb9239f Missed a few substitutions the first time around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:16:22 +00:00
David Elliott
746aa166e4 Include wxCocoa header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:14:10 +00:00
Václav Slavík
3191ff3b91 added wxHAS_TASK_BAR_ICON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:14:06 +00:00
David Elliott
2ec55dc0be Added wxSlider stub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:09:27 +00:00
David Elliott
d9b4ddf28f Added NSColor declarataion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:27:13 +00:00
David Elliott
683b185d01 First stab at wxColour using NSColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:24:10 +00:00
David Elliott
1b1d2207ea Add ability to have a wxMenuBar as a common menu
- static wxMenuBar::MacSetCommonMenuBar()
- static wxMenuBar::MacGetCommonMenuBar()
- static wxMenuBar::s_macCommonMenuBar;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:17:33 +00:00
Vadim Zeitlin
c631d59053 removed deprecated ConvertToBitmap() and wxImage(wxBitmap) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:38:29 +00:00
Julian Smart
7919cba5b7 Removed very obsolete Set/GetColourMap accessors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:19:26 +00:00
Chris Elliott
7d5848668d fix DMars compilation to use precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 12:09:16 +00:00
Julian Smart
25b1b442d6 Added corrected Show() to wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 08:26:01 +00:00
Julian Smart
01ebf75203 Platform and compiler-specific checking for MSW and Mac now done
in wx/xxx/chkconf.h.
Removed some very obsolete settings, and MSW-specific settings
from Mac's setup0.h.
wxTimer now derives from wxEvtHandler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 12:31:45 +00:00
Stefan Neis
5d8f5f875e Added definition of wxUSE_DISPLAY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 18:36:42 +00:00
Julian Smart
0e7bcd61ac Include wxHTML help controller from wx/helphtml.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:48:14 +00:00
Julian Smart
bd582574c2 Added wxMenuBase::FindItemByPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:44:54 +00:00
Julian Smart
b1f68ca345 Can now skip default manifest inclusion by defining wxUSE_NO_MANIFEST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:44:18 +00:00
Vadim Zeitlin
b600ed1362 wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
30e671a59f added virtual dtor to wxDateTimeHolidayAuthority (patch 753947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:23:56 +00:00
Vadim Zeitlin
3080bf599a added a few #ifdefs needed to build a smaller library (patch 751523)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:00:55 +00:00
Vadim Zeitlin
1e74d03b7f implemented alpha support for raw bitmaps under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 12:57:44 +00:00
Vadim Zeitlin
9a9b4940a1 added possibility to customize the listbox colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 22:26:45 +00:00
David Elliott
724ebdde8a Added wxString to NSString conversion functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:09:21 +00:00
David Elliott
70024cfb08 Proposed wxMac MDI interface (in limbo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:29:48 +00:00
David Elliott
245f35816d Added support for delayed deactivation of windows (for MDI)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:24:32 +00:00
Vadim Zeitlin
ceb71775b4 added def value for Create() id parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:17:46 +00:00
Václav Slavík
ce73e65400 fs_inet depends on protocol classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 15:33:14 +00:00
Vadim Zeitlin
970b97a267 made multiple selection behave more consistently with the usual (Windows) way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:09:30 +00:00
Václav Slavík
4a6e4a46a3 added wxLocale::GetLanguageName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:16:19 +00:00
Václav Slavík
854e189f90 added wxRTTI to XRC handlers (patch #752996 by David Falkinder)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:10:38 +00:00
David Elliott
be7a101366 Make wxMDIParentFrame a regular top level window
- Override DoGetClientSize for wxMDIClientWindow instead of wxMDIParentFrame
- Do not override OnSize for wxMDIParentFrame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 13:41:05 +00:00
Jouk Jansen
c698eae5a8 Committing in .
OpenVMS compile issues

 Modified Files:
 	wxWindows/include/wx/vms_x_fix.h
 	wxWindows/samples/image/image.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/clipbrd.cpp
 	wxWindows/src/motif/combobox.cpp
 	wxWindows/src/motif/scrolbar.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 11:28:16 +00:00
Vadim Zeitlin
43e319a307 removed countItems parameter from ctor -- doesn't work anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:47:09 +00:00
Vadim Zeitlin
be46555538 implemented multiple selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:40:37 +00:00
Vadim Zeitlin
ae0f022346 added RefreshLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:37:52 +00:00
Vadim Zeitlin
d659d703ef made CopySelection() always available (otherwise it wouldn't compile when wxUSE_CLIPBOARD == 0); copy double/triple clicked selection to primary X11 clipboard under Unix as well; minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:34:44 +00:00
Julian Smart
4f610b3443 Add back #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:11:34 +00:00
Vadim Zeitlin
b3005659bd made GetType() inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:02:04 +00:00
Vadim Zeitlin
c71d3313a4 extracted wxSelectionStore in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:49:53 +00:00
Julian Smart
dd74a7ad67 Removing vestiges of wxUSE_NEW_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:03:57 +00:00
Robin Dunn
1e93ca1729 Ensure that a wxMenuItem's parent menu is updated if it is removed
from one and added to another menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 23:48:46 +00:00
Julian Smart
44cf9b50ee Added shaped sample copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 17:49:49 +00:00
David Elliott
6444e22daa Restored Objective-C typesafety while retaining proper C++ name mangling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 03:25:42 +00:00
Václav Slavík
77bae5e228 use 'I' cursor when over text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 23:31:21 +00:00
Stefan Csomor
e71a0aa95f changing inheritance and delegation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:34:29 +00:00
Stefan Csomor
69b85ca49b adapting MacHandleControlClick to know about mouse state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:29:57 +00:00
David Elliott
49de49497d Added #if wxUSE_DATAOBJ guard around header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 02:16:44 +00:00
David Elliott
be65775665 Added stub for the new pure virtual DoInsert method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 01:38:13 +00:00
Julian Smart
f080251d92 Reverted the warning fix since it breaks MinGW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:33:17 +00:00
Václav Slavík
0994d9683e added line selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:30:56 +00:00
Julian Smart
a9fa99ad9e Fixed compile warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 16:08:40 +00:00
Václav Slavík
31eefb998d doubleclick selects word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:42:34 +00:00
Václav Slavík
1338c59a02 added selecting-while-dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 18:17:04 +00:00
Vadim Zeitlin
b6d5d4548c made wxNativePixelFormat usable under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:50:18 +00:00
Václav Slavík
a99798d20c (hopefully) finished subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:07:52 +00:00
Václav Slavík
ed9d5d17e1 new rendering customization API for Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 21:22:08 +00:00
Vadim Zeitlin
3964e424bf fixed the channel order for Mac (alpha comes first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:52:57 +00:00
Václav Slavík
169ee861bd subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:56:43 +00:00
Vadim Zeitlin
5a0b749487 removed absolutely unneeded #include module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:17:36 +00:00
Vadim Zeitlin
0b49ccf8d6 pressing PageDown and then PageUp should return to the same item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 11:15:38 +00:00
Vadim Zeitlin
55e18dbe2f initial attempts to get raw bitmaps working under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 00:44:43 +00:00
Vadim Zeitlin
c9c61efbdd compilation warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:03:56 +00:00
Vadim Zeitlin
5ecdc7ab6d refresh cache on size/margins change; expanded cache to contain N elements, not just one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:02:12 +00:00
Vadim Zeitlin
6af4ea87d0 added GetMargins()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:00:35 +00:00
Vadim Zeitlin
8b053348a5 added RefreshAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:58:38 +00:00
Roger Gammans
cf6ae2907c Addition at simple wxObject*, support into wxVariant.
This includes 2 new methods wxVariant::IsValueKindOf() and
wxVariantData::GetValueClassInfo() to allow query of the
wxRTTI data of the variant's data.

Also included is a macro analogues to dynamicCast for fetching
objects out of a wxVariant.

Documentation patches for the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:17:28 +00:00
Václav Slavík
61233023a0 added copying selection to clipboard; fixes to selection making
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 20:14:31 +00:00
Julian Smart
85b43fbf7a Attempt to make wxWindows play better with XP themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +00:00
Václav Slavík
adf2eb2d34 more work on text selection: selecting should work now, but there's no clipboard interaction yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:19:15 +00:00
Julian Smart
313901f3e5 Fix for bug [ 744199 ] wxBringWindowToTop, child window z-order
A child window should only have it's z-order raised, not
the parent window brought to the front.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:01:18 +00:00
Julian Smart
e00865fab6 Get the initialization order right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:47:50 +00:00
Julian Smart
f67db8c002 Removed AlignIn after further thought
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 17:15:38 +00:00
Julian Smart
605dfd9173 Applied patch [ 650511 ] wxCalendarCtrl - year does not change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:46:49 +00:00
Julian Smart
939fadc8aa Applied patch [ 710608 ] wxImage::GetImageExtWildcard for image load/save dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:10:17 +00:00
Julian Smart
b1b3ddd840 Applied patch [ 649157 ] wxDisplay for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:03:24 +00:00
Julian Smart
a89abd7f0c Applied patch [ 730697 ] wxRect::AlignIn member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:53:00 +00:00
Julian Smart
22328fa444 Applied patch [ 623187 ] virtual methods and new AppendItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:48:42 +00:00
Julian Smart
0d1cb8cb29 Applied patch [ 619386 ] uxtheme.dll support
with filename changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:18:36 +00:00
Julian Smart
5706de1cf4 Partially applied patch [ 531199 ] new EVT_MOVING and EVT_SIZING
Changed to reuse wxMoveEvent, wxSizeEvent
Only applied the Mac part as a TODO comment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 14:37:28 +00:00
Julian Smart
5c5428f913 Applied patch [ 619539 ] patch to get small icon via geticon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:57:23 +00:00
Vadim Zeitlin
e0c6027b5a added wxVListBox using wxVScrolledWindow and wxHtmlListBox using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:35:26 +00:00
Václav Slavík
6fac75c355 added default ctor and SetSelection to wxHtmlRenderingState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:28:09 +00:00
Julian Smart
17816c2e70 Applied patch [ 743194 ] HitTest for wxNotebook
Yes, we do need implementations for other platforms,
but it's a start.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:26:09 +00:00
Julian Smart
eee3624b11 Applied patch [ 743248 ] wxArray::RemoveAt() error message fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:21:40 +00:00
Julian Smart
2ce7af354a Applied [ 745533 ] implemented wxNotebook::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:13:03 +00:00
Julian Smart
12491c1f8e Applied patch [ 746355 ] Adds some checks for chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:46:22 +00:00
Julian Smart
392c714810 Applied patch [ 746547 ] fixes 'wrong header file included' in fontmap.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:42:49 +00:00
Vadim Zeitlin
7d96264c68 added consts needed by VC++/BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 10:25:23 +00:00
Václav Slavík
31d8b4ad24 react on mouse up, not mouse down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 00:10:06 +00:00
Václav Slavík
f65a786ffd preparing wxHtmlWindow for text selection (highlighting works, mouse input and clipboard does not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:42:13 +00:00
Vadim Zeitlin
af9fe8874f missing WXDLLEXPORT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 12:04:34 +00:00
Vadim Zeitlin
cf7d632953 added wxVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:08:31 +00:00
Vadim Zeitlin
7863fab40d #define WINVER as 0x400 if it is not defined at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:13:20 +00:00
Robin Dunn
51566b0bc9 Added LoadFile and SaveFile methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 23:50:21 +00:00
Gilles Depeyrot
f1317a5d94 fixed error in inlined (standard) version of wxStringData deallocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 15:59:46 +00:00
Gilles Depeyrot
8ecf21b7db improved deallocation fix for Visual C++ Multithreaded non DLL runtime
so that it only has a performance impact on wxString in this configuration


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 14:03:37 +00:00
Gilles Depeyrot
ca5e07c768 VC++ free must take place in same DLL as allocation when using non dll
run-time library (e.g. Multithreaded instead of Multithreaded DLL)
we must not inline wxStringData deallocation since allocation is not inlined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 21:11:17 +00:00
Vadim Zeitlin
eb382f3e5e force wxUSE_IOSTREAMH to 0 with VC 7.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 22:04:50 +00:00
Mattia Barbon
6c33b24c53 Derive wxScrollBar from wxScrollBarBase, plus miscellaneous
refactoring. Adjusted default scrollbar size to match the
size of wxScrolledWindow (and other scrolled controls) scrollbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:36:31 +00:00
Mattia Barbon
ffa3d6b8a3 Removed some duplicated code, made wxCursor( wxImage )
handling of dark/light colors agree with wxMSW and wxGTK, i.e.
dark -> black, light -> white.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:31:41 +00:00
Mattia Barbon
d7c40406e6 Don't leave the wxStaticBox hanging around after wxStaticLine
destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:28:51 +00:00
Chris Elliott
ba0d56c3c2 fix SF bug 742496
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 10:23:03 +00:00
Julian Smart
a5ae8241de Allow printing objects to be passed a wxWindow, not a wxFrame
(vestigial remains of older wxWin version)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 09:55:28 +00:00
Václav Slavík
7df93c2deb fix _() for wxUSE_INTL==0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:28 +00:00
Mattia Barbon
148b44a1e7 Used wxRegion code from wxX11.
Removed update rect list from wxWindow
(not necessary anymore).
  Simplified and corrected clipping region handling
in wxWindowDC. Stopped wxWindowDC::DoBlit from
destroying the clipping region.
  Simplified wxPaintDC code.
Added wxWindow::DoCreateScrollBar helper function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 19:41:05 +00:00
Julian Smart
69108ccb4e Removed wxHTMLHelpControllerBase (putting the
implementation into wxExtHelpController.
wx/helphtml.h now includes wx/html/helpctrl.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 11:20:39 +00:00
Stefan Csomor
4457f32a77 removed DoGetSize implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:39:01 +00:00
Julian Smart
b39dbf34b8 Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Julian Smart
d726047819 Applied patch [ 738821 ] Allow more features to be turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:59:07 +00:00
Mattia Barbon
bef8d4810d MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:51:36 +00:00
Mattia Barbon
94e785e128 Remove duplicate wxEmptyString declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:36:33 +00:00
Julian Smart
1fdf858b87 Applied patch [ 740012 ] GetKeyState returns 16-Bit value on WindowsNT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:43:03 +00:00
Julian Smart
0fc7f695ce Applied patch [ 740071 ] Make tiff errors/warnings use wxLog functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:25:24 +00:00
Julian Smart
e6c96a7ca4 Applied patch [ 689188 ] adds wxToolBar::GetToolPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:27:39 +00:00
Stefan Csomor
5f965f0b41 DoGetSize overrides
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:33:36 +00:00
Stefan Csomor
1da7f7a5be switch to pImpl pattern for mac printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:27:10 +00:00
Stefan Csomor
8a5b9f0807 switch to pImpl pattern for mac printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:22:03 +00:00
Julian Smart
a37e4a071c Corrected some wxAccessible mistakes
Implemented some SplitterWindowAccessible functions
in sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 14:00:18 +00:00
Roger Gammans
b8d24d4edd * Apply patch #735595. Add miminumAcceptable{Height,Width}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 19:49:43 +00:00
Stefan Csomor
a1fea40ec6 not needed anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 07:58:39 +00:00
Stefan Csomor
20cd7383dd UMAPr.. calls for classic only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 07:43:03 +00:00
Mattia Barbon
76208c7ef6 Remove dead code. Factor out duplicated code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 20:14:07 +00:00
Stefan Csomor
e99cc06dc6 ValidateOrCreate added for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 20:36:37 +00:00
Mattia Barbon
9a595736d0 Derive wxStaticText from wxStaticTextBase, remove dead code/code
duplication. Likewise for wxStaticBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 20:02:15 +00:00
Václav Slavík
f2034f1b6e applied HTML pagebreaks patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 22:33:51 +00:00
Mattia Barbon
6769d0cbf3 Factored out some common code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:04:08 +00:00
Mattia Barbon
47be989f6b Implemented copy-on-demand for wxClipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:55:35 +00:00
Mattia Barbon
0cc1d4ff2a Removed redundant wx<Control>NameStr declarations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:52:43 +00:00
Vadim Zeitlin
5eae641dd6 fixed bug in WinStruct<> ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 23:25:14 +00:00
Vadim Zeitlin
bffa02ff6f added WinStruct<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:43:28 +00:00
Vadim Zeitlin
c4e54c6d80 moved missing constants definitions to their right place in wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:41:23 +00:00
Vadim Zeitlin
51e257806f init m_isOpened in ctor (bug 736208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:28:16 +00:00
Chris Elliott
7db39dd699 digital mars fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 20:02:40 +00:00
Gilles Depeyrot
edf6a06341 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
contain a bug concerning #pragma interface handling that can only be worked
around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 18:08:58 +00:00
Gilles Depeyrot
3399051ee9 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
contain a bug concerning #pragma interface handling that can only be worked
around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 17:57:23 +00:00
Vadim Zeitlin
edb57eaebe added missing typename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:04:10 +00:00
Vadim Zeitlin
aaa9782834 wxImage::Create() should be bool, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 00:59:42 +00:00
Vadim Zeitlin
d9ef4e06ed added LVSICF_NOSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:55:39 +00:00
Vadim Zeitlin
8fa97a5819 compilation fix for BCC (and probably others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:53:08 +00:00
Vadim Zeitlin
2f22353e37 fixed iterator over wxImage with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:50:43 +00:00
Vadim Zeitlin
243dbf1a50 Insert() patch from John Labenski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:58:28 +00:00
Vadim Zeitlin
b5f159ac91 use wxDEPRECATED around GetNoHistoryFiles()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:04:01 +00:00
Jouk Jansen
d171743ed3 Committing in .
Fixes needed for OpenVMS

 Modified Files:
 	wxWindows/include/wx/x11/private.h
 	wxWindows/include/wx/x11/privx.h
 	wxWindows/src/common/dbtable.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/bmpmotif.cpp
 	wxWindows/src/motif/descrip.mms wxWindows/src/x11/bitmap.cpp
 	wxWindows/src/x11/utilsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:53:52 +00:00
Vadim Zeitlin
7af6b69e74 wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 00:02:58 +00:00
Robin Dunn
b63fce942f fixed compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 18:08:01 +00:00
Robin Dunn
ef5df12bdf Also merge the m_overflow attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:50:08 +00:00
Mattia Barbon
dd38c87578 Implemented wxBitmapDataObject.
Implemented generic wxDataObject support in wxClipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +00:00
Chris Elliott
f0fc695806 remove if defs for DigitalMars as suggested by Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:14:14 +00:00
Robin Dunn
8adb5d4557 Added inline setters for wxTreeEvent so we don't need to add new
friends anytime someone wants to generate wxTreeEvents


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:30:37 +00:00
Julian Smart
fe3d9123c6 Revamped border handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:57:32 +00:00
Chris Elliott
957f03699b possible fix for templates with digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 15:08:52 +00:00
Mattia Barbon
eb6fa4b425 Changed the way ApplicationShells are used: now wxMotif
creates one ApplicationShell per display, and makes top
level windows popup childs of the ApplicationShell.
  Removed a couple of unused variables from wxApp.
  Replaced some calls to wxGetDisplay with XtDisplay(widget)
or event.xany.display, and some others with wxGlobalDisplay
(the latter changes are just eyecandy).
  Used wxFlushEvents where appropriate.
  Fixed (hopefully) wxFindAcceleratorText and wxFindAccelerator;
for now the new version is still disabled, awaiting further testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:40:46 +00:00
Robin Dunn
819451b6c7 Reversed the meaning of black and white in wxRegion::ConvertToBitmap
so it matches the menaning of black and white in wxMask


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Julian Smart
ff865c132a Applied patch [ 730686 ] wxImage::Scale speed improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:06:07 +00:00
Julian Smart
a36d790a7b Added m_isOpened variable to simulate opening/closing
the clipboard on wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 17:48:17 +00:00
Chris Elliott
76c718091a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 14:05:03 +00:00
Chris Elliott
1e3c12d774 implement wxHAVE_RAW_BITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:58:00 +00:00
Chris Elliott
e6c13db6ec fix bug to make Borland compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:47:07 +00:00
Chris Elliott
7581faf616 digital mars updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:16:28 +00:00
Chris Elliott
bf978f96c2 Macro swicth from SC to SYMANTEC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:30:18 +00:00
Chris Elliott
384f18ed35 info about digitalmars in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:28:38 +00:00