Commit Graph

5979 Commits

Author SHA1 Message Date
Vadim Zeitlin
b103e4f3d5 removed wxLogTrace() without mask to fix DMC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 20:44:22 +00:00
Vadim Zeitlin
492e2a5b07 marked FindColour() as deprecated; removed AddColour() which was only used internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 13:41:12 +00:00
Vadim Zeitlin
4bdce112bf resolved conflict (because I forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 20:01:54 +00:00
Dimitri Schoolwerth
5de65c6930 Declaration of CopySelection is bool instead of void.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:57:34 +00:00
Václav Slavík
3202d00dc9 assert if wxLocale::Init called twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:33:35 +00:00
Dimitri Schoolwerth
e128397f93 Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 14:25:05 +00:00
Stefan Neis
22e0b22bac Try to insure usability of this file in non-PM ports.
Hack to try to reduce flicker by creating controls without WS_VISIBLE
        (define WS_VISIBLE to 0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:10:57 +00:00
Stefan Neis
28e5e577e4 Insure suitable choices of path/drive separator on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:09:14 +00:00
Mattia Barbon
f148f2bac3 Avoid double free in wxComboBox::SetClientObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:17:57 +00:00
Mattia Barbon
1a6d9c7680 New wxHashTable implementation when wxUSE_STL == 1. Replaces
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
  Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Mattia Barbon
ff9ca1fd6f Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:04:10 +00:00
Vadim Zeitlin
0c7cfd990d fixed HAVE_STD_WSTRING test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:45:36 +00:00
Václav Slavík
9d814be8d0 don't define ngettext, causes problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 20:51:05 +00:00
Dimitri Schoolwerth
1e1cc1ce95 Implemented missing pure virt functions (stub functions for now).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 19:29:20 +00:00
George Tasker
981cf2aadb Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 14:44:50 +00:00
Robin Dunn
fc1fcd0edc Added accessors for m_rowHeights, m_colWidths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 06:42:23 +00:00
Julian Smart
eae4425db6 WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Robin Dunn
3ac7b44cc0 Added FindItemAtPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:20:09 +00:00
Mattia Barbon
dad6a47e6d Changes corresponding to patch #841324 from Ian Brown:
"GetPosition() returns wrong result for dialog". Moved implementation
from wxFrame to wxTopLevelWindow thus sharing it between wxFrame
and wxDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-16 11:28:37 +00:00
Julian Smart
4c663122e4 Fixes for previous fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 10:26:46 +00:00
Dimitri Schoolwerth
f942f48def Initial revision; Ignore setup.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 04:50:56 +00:00
Julian Smart
92d8fb5dc6 Fixes for later WinCE versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 21:06:21 +00:00
Dimitri Schoolwerth
0b3fcc0a59 Fixed wxUniv+OpenGL compilation for MSW; Cosmetic cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 12:59:03 +00:00
David Elliott
9de2e75ad0 wxCocoa: Use the new native MDI implementation instead of generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 16:05:24 +00:00
David Elliott
f99422e9e9 Added implementation of MDI using top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 16:03:08 +00:00
David Elliott
3905012063 Added a mechanism allowing a toplevel window to delay its deactivation
event.  This will come in handy for MDI among other things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 15:13:55 +00:00
David Elliott
243f5c2d91 Renamed UpdateWindowMenuBar to UpdateMenuBar and removed unused parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:23:07 +00:00
Dimitri Schoolwerth
8703bc01c2 Added wxUnusedVar for Borland and fixed 2 release mode warnings for Borland (patch #835707); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:17:46 +00:00
Robin Dunn
3ff632ce66 Fixed an accidental name clash, and added back a wxCHECK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 20:52:35 +00:00
Robin Dunn
6217b9aa7e Set m_rows, m_cols so GetRows/GetCols in the base class work. Added
GetCellSize method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 17:45:10 +00:00
Robin Dunn
0d077b41ee Refactored wxSizerXmlHandler and added support for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 08:27:41 +00:00
Robin Dunn
1b52f7aba0 Added default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 07:05:39 +00:00
Robin Dunn
1621c234d1 Calling sizerItem->SetWindow shoudl set the minsize too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 07:04:55 +00:00
David Elliott
8ded703ddc Add wxCocoaNSWindow* parameter to GetAppMenuBar so implementations can
return an alternate menubar based on the window which needs it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:37:16 +00:00
David Elliott
f1d04a42d5 * Removed CocoaInternalIdle()
* Removed methods that were called by wxTopLevelWindow notification handlers
* Removed now useless m_needMenuBar
* Added an Objective-C notification observer class
* Added methods to receive the notifications
* InstallMenuBarForWindow now takes a wxCocoaNSWindow
* Do not keep track of key/main window
* Keep track of window for which menu bar was installed (m_windowCurrent)
* SetMenuBar() will now install the main menu immediately


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:12:11 +00:00
David Elliott
360be3c012 Add virtual wxMenuBar* GetAppMenuBar();
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:53:31 +00:00
David Elliott
3e84f98ffa wxMenuBarManager::InstallMenuBarForWindow no longer looks for a menubar
attached to the parent of a window without one.  Instead, it is now up to
the GetAppMenuBar() function to do so.  The new implementation in
wxTopLevelWindow does just that.  The wxFrame implementation now calls
the base class version if it does not have a menubar.  Also, it is now
invalid to call the function with a NULL window (it is internal anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:25:06 +00:00
David Elliott
aa6f64c7d8 Replaced all occurences of id with winid for Objective-C++ compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:09:48 +00:00
Robin Dunn
20b35a6916 Added wxGridBagSizer, a grid sizer where item positions can be
specified and row/col spanning is allowed.

Updated docs, the layout sample, files.bkl, and updated makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 01:31:44 +00:00
Mattia Barbon
dabf1d079b Updated not to use deprecated wxList methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:34:11 +00:00
Mattia Barbon
7057f62a37 Updated wxHashTable::Next documentation to use wxHashTable::Node*
for the return type (which currently is just a typedef for wxNode*).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:32:24 +00:00
Václav Slavík
89d38f8c3a added resolution option to JPEG handler (patch #833234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:58:58 +00:00
Vadim Zeitlin
06f6df7d46 removed InitBase()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 13:26:59 +00:00
Robin Dunn
39c0acb666 Patch #826420, and also adapted to new SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 01:12:25 +00:00
Vadim Zeitlin
727953356d removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Václav Slavík
8ccff7d211 #if around deprecated macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 22:26:29 +00:00
Robin Dunn
af17155e90 Added SetMin/SetMax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-29 04:28:53 +00:00
David Elliott
921176c5e4 Changed all symbols with the name "id" to "winid" to allow Objective-C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 04:12:45 +00:00
David Elliott
b935bec236 Changed all symbols with the name "id" to "winid" to allow Objective-C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 03:47:39 +00:00
David Elliott
c5c5dad595 Changed all symbols with the name "id" to "timerid" to allow Objective-C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 03:42:30 +00:00
Mattia Barbon
878d055d0b Match changes in DECLARE_*_CLASS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 21:28:56 +00:00
Mattia Barbon
c0a83c519b Suboptimal wxColour::CreateByName implementation for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 21:49:44 +00:00
Stefan Csomor
ffd82f1cf8 fix for gcc MacOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 17:46:04 +00:00
Vadim Zeitlin
63e7198ba8 moved wxUSE_UNICODE <-> _UNICODE checks to wx/platform.h from wx/wxchar.h because wxUSE_UNICODE is used in wx/defs.h itself, before wx/wxchar.h is included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 21:24:16 +00:00
Václav Slavík
3a858e7512 include wx/platform, to get __WINDOWS__ etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 14:46:57 +00:00
Vadim Zeitlin
716e96df2b added default value (0) for flags argument of AdjustForParentClientOrigin()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 08:33:32 +00:00
Stefan Csomor
f4ef67ba69 adding support for mach unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 06:46:48 +00:00
Vadim Zeitlin
26dddf6c34 Open Watcom doesn't like typename, use class (patch 826812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-20 17:43:08 +00:00
Stefan Csomor
2c4c398782 VC6 template fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 13:41:33 +00:00
Vadim Zeitlin
564a150b1f replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:51:01 +00:00
Vadim Zeitlin
45bbbc5430 use #if WXWIN_COMPAT and not #ifdef (patch 826160)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:22:11 +00:00
Vadim Zeitlin
f75aecd00f use wxColourDatabase::Find() instead of deprecated FindColour(); some minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:20:13 +00:00
Stefan Csomor
bb7eff4c0d adjusting to changes in object.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:50:46 +00:00
Stefan Csomor
c9cacf3e49 removing RTTI classinfo #define redirections, not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:48:20 +00:00
Vadim Zeitlin
4e6b83091a added CreateByName(), use it in wxColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Jouk Jansen
2b5b100ac6 Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/defs.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 10:01:21 +00:00
Vadim Zeitlin
c50f92d08c fixed bug with wxcolourDatabase::FindColour(); added (and documented) new Find() and AddColour(const wxColour&) methods to avoid such problems in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:42:31 +00:00
Vadim Zeitlin
5b66d31a94 fixed wxMouseEvent::Moving() and Dragging() after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 15:05:32 +00:00
Vadim Zeitlin
c0db962623 made wxRTTI macros namespace-friendly (patch 799434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:33:46 +00:00
Vadim Zeitlin
311ccb86e4 compilation fix for Watcom (part of patch 813225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:23:07 +00:00
Vadim Zeitlin
3cb9989457 added wxSYS_ICONTITLE_FONT (patch 816026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:17:38 +00:00
Vadim Zeitlin
0cc66b6c0b moved DLL import/export declarations from wx/defs.h to (new) wx/dlimpexp.h for GSocket; added wxUnusedVar() and wxDUMMY_INITIALIZE() to wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:25:56 +00:00
Vadim Zeitlin
d4864e971b added ShouldInheritColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:00:12 +00:00
Vadim Zeitlin
81b344a543 use ShouldInheritColours() instead of IsContainerWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:39:22 +00:00
Vadim Zeitlin
3931863650 added missing wxCMPFUNC_CONVs (patch 820862)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:10:44 +00:00
Vadim Zeitlin
6f63704ff4 wxMouseEvent::Moving() shouldn't return true when we're really dragging the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 07:55:25 +00:00
Vadim Zeitlin
f4992e37c0 removed the weird m_style which was never initialized GTK and duplicated m_windowStyle under Mac/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 22:45:23 +00:00
Mattia Barbon
833a51f67e Implemented wxPopupWindow for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:05:28 +00:00
Vadim Zeitlin
2197563c78 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 23:49:18 +00:00
Vadim Zeitlin
5bc97d1b81 added CanConvert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 23:47:22 +00:00
Václav Slavík
ba9d03fa13 1) use ngettext instead of _N, 2) cleanup of gettext macros definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 21:27:02 +00:00
Mattia Barbon
fe8d146972 wxMotif now uses wxGLCanvas implementation from wxX11,
removed unused files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 17:28:15 +00:00
Mattia Barbon
f15b55cee0 Fixes for application not closing after last top level
window closed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 17:23:23 +00:00
Vadim Zeitlin
6ee654b36c added LVSICF_NOINVALIDATEALL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 11:17:51 +00:00
Václav Slavík
d614f51b31 return false from wxXmlResource::Load if the resource is corrupted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 09:48:52 +00:00
Robert Roebling
783da8450c Added wxBitmap::Rescale() from 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Stefan Csomor
be3dfc5dfa added newline conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 18:19:45 +00:00
Vadim Zeitlin
5bb9aeb266 check directories passed to Append/Insert/PrependDir(); don't terminate string returned from GetPath() with wxPATH_GET_SEPARATOR flag with slash for the paths which don't have any path at all under DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 23:15:16 +00:00
Vadim Zeitlin
d5d29b8a22 renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 22:13:14 +00:00
Vadim Zeitlin
96ac065f9e restore status bar text after a menu has been shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 22:55:06 +00:00
Václav Slavík
c839485c8e added .chm support for Unix (Markus Sinner)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 19:47:02 +00:00
Vadim Zeitlin
d7787243db fixed FixedSizeTabs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 13:37:43 +00:00
Vadim Zeitlin
d2ed74b912 send END_EDIT label if label editing is cancelled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-07 08:41:54 +00:00
David Elliott
9692f42bc6 Use NSWindow delegate notification windowWillClose instead of overriding close
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 19:17:11 +00:00
David Elliott
c1f12896c2 * Add bool parameter to WindowDidResignKey indicating whether the menu bar
should be changed to the common menubar or remain installed.
* Add back some assertions to ensure the code is working as intended.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:54:59 +00:00
David Elliott
0187ddb4a8 Use an application delegate object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 15:36:11 +00:00
Václav Slavík
849a28d0da added gettext plural forms support (patch #785660 with modifications)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 22:38:00 +00:00
Robin Dunn
487f2d58e9 Add some WXDLLIMPEXP's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 03:00:46 +00:00
Vadim Zeitlin
3e89999c1a fixed wxMOUSE_BTN_XXX values, use them instead of hard coded constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 22:22:59 +00:00
Stefan Neis
7cdc9c61b3 Added dummies for Enable and SetDelay.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 16:58:17 +00:00
David Elliott
518e56a71b Removed MainLoop, ExitMainLoop, Pending, and Dispatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 13:15:56 +00:00
Robin Dunn
bfe3577625 Added a const to be consistent with the generic class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:51:36 +00:00
Stefan Neis
dd133a2044 Switches OS/2 back to generic ListCtrl and TreeCtrl as those compile and
link at least (and problems with generic controls needs fixing anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:50:41 +00:00
Stefan Neis
b76fa6fe3b Fixed compilation problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:13:53 +00:00
Vadim Zeitlin
aef35d0ef5 use wxEvent::ShouldPropagate() instead of its own propgation control mechanism in wxNavigationKeyEvent (patch 814644)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 12:49:56 +00:00
Vadim Zeitlin
18da7cf292 Unicode fixes for Watcom (part of patch 813225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 12:41:46 +00:00
Vadim Zeitlin
8d00896532 support creating larger minidumps; support WX_CRASH_FLAGS env var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-29 17:14:52 +00:00
Vadim Zeitlin
2b2a5a8cbe SetValue() takes just bool, not const bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 18:01:42 +00:00
Vadim Zeitlin
0da52ad172 SetValue() takes just bool, not const bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 17:51:11 +00:00
Mattia Barbon
f4998a1cc6 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 13:57:52 +00:00
Vadim Zeitlin
8941fa8806 added 3-state checkboxes (patch 813790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 00:23:08 +00:00
Vadim Zeitlin
cc70081166 removed Initialized()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:20:28 +00:00
Vadim Zeitlin
e8b7a0d641 removed duplicate UTF16/32 values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 14:06:18 +00:00
Vadim Zeitlin
dd435a79ed removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
051a889da9 define wxFONTENCODING_UNICODE as UTF16/32 depending on the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:24:57 +00:00
Vadim Zeitlin
d8cf2b8d7d made UTF-16/32 equivalent to the corresponding LE/BE version (patch 812358)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:13:22 +00:00
Vadim Zeitlin
fedec98126 merged wxDisplayModeInfo and wxVideoMode in a single class, extracted it in a separate wx/vidmode.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 12:55:46 +00:00
Vadim Zeitlin
3dd514f167 compilation fix for Mac (patch 813378)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 12:36:30 +00:00
Vadim Zeitlin
b8bdaa7c2b make it possible to give focus to the notebook itself (patch 811013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 21:36:33 +00:00
Vadim Zeitlin
6f96ac03f0 added wxGzipIOStreams (patch 792932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:24:36 +00:00
Vadim Zeitlin
bcda793a4e added wxTextInputStream::ReadChar() (part of patch 792932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:15:38 +00:00
Vadim Zeitlin
0915d0b2e2 wxZlibStreams fixes; allow them to be used as deflate [de]compressor in gz/zip files (patch 792562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:07:22 +00:00
Vadim Zeitlin
6bb7cee4e9 fixes to radio button handling (patch 803360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 19:43:47 +00:00
Vadim Zeitlin
bda3d86af9 don't do anything non trivial (like creating wxFontMapper) in ctors of global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 16:55:53 +00:00
Julian Smart
afa039f920 Clean up event hash tables in a timely fashion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 10:50:58 +00:00
Vadim Zeitlin
fcb35beb94 compilation fixes after making wxFontRefData private (added wxFont::GetMacXXX())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 23:10:35 +00:00
Vadim Zeitlin
ef92f44097 wxPATH_NORM_ALL shouldn't include wxPATH_NORM_CASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 22:04:53 +00:00
Robin Dunn
e04fe03d0f Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
an IsVertical method added too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 20:08:25 +00:00
Robin Dunn
9d41f689dc #ifdef update for the old SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 20:06:19 +00:00
Vadim Zeitlin
89654c9a49 GetFilenames() always returned a single file only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:06:53 +00:00
Vadim Zeitlin
97f278b453 finally reverted patch 782947 completely, it is broken; added just a check that id returned by SetTimer() is not a dup instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 14:48:33 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
eccd199223 refactored code to create hidden window in one place only; use it from wxTimer; unregister class used by wxExecute (modified patch 782947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:57:32 +00:00
Mattia Barbon
05e770c40e Use glcanvas.cpp from wxX11 for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 19:25:45 +00:00
Chris Elliott
641a7c45b5 fix digitalmars 64 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:52:37 +00:00
Chris Elliott
e84c7178fe fix watcom 64 bug (openwatcom1.1) (second try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:36:25 +00:00
Chris Elliott
3ca91ffb3d fix watcom 64 bug (openwatcom1.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 09:33:21 +00:00
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Vadim Zeitlin
bde4baaced more wxMBConv classes cleanup, define wxConvLibc to use Win32 API under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:29:15 +00:00
Vadim Zeitlin
57c5293e49 made Convert() methods const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:15:00 +00:00
Vadim Zeitlin
9769627970 assume sizeof(wchar_t) == 2 by default, not 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 19:25:32 +00:00
Vadim Zeitlin
e95354ec54 added UTF-16/32-[LB]E conversions; got rid of wxCharacterSet and simplified and fixed some bugs in remaining code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 17:11:56 +00:00
Vadim Zeitlin
c0dd4372a3 wxLL is now in wx/defs.h together with (new) wxULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 17:10:30 +00:00
Vadim Zeitlin
84ed77ef28 added (and documented) wxULL(); fixes for wxINT64_SWAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 15:30:25 +00:00
Vadim Zeitlin
8fb3747278 reorganized/improved fixed size int types definitions; in particular use __int64 for wxInt64 if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 13:47:55 +00:00
Vadim Zeitlin
ef620df011 added Win64 detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:43:36 +00:00
Vadim Zeitlin
014c5a64b5 moved wxGA_XXX styles to gauge.h from defs.h; set wxGA_PROGRESSBAR as 0 (it's not used anywhere anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:35:21 +00:00
Vadim Zeitlin
da0f19f8a8 cleanup: derive wxGauge from wxGaugeBase; removed redundant code from Create() (use base class methods instead); implemented MSWGetStyle() and GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:31:58 +00:00
Vadim Zeitlin
9446dc2642 added IsVertical(); initialize members in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:28:25 +00:00
Vadim Zeitlin
311a173bcc removed some TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:14:44 +00:00
Stefan Neis
7332d96bd5 Fixed wxGUIAppTraits declaration on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 06:04:49 +00:00
Vadim Zeitlin
104032545e added wxOwnerDrawn::SetOwnerDrawn() and SetDisabledBitmap(); corrected calculation of menu width and drawing of accels for disabled items (parts of patch 758598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:43:36 +00:00
Stefan Neis
a637417cf7 Added GUI part of AppTraits for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:39:22 +00:00
Vadim Zeitlin
c91830cb4b added conversions to/from UTF 16/32 LE/BE (patch 809685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:12:10 +00:00
Stefan Neis
9fc852b7ff Added AppTraits for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:02:44 +00:00
Stefan Neis
598dc9b777 Switched over to using wxEventLoop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:54:03 +00:00
Stefan Neis
9345ca55cb Added declaration for GetViewRect to fix compilo.
FIXME: Implementation is still missing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 21:28:40 +00:00
Vadim Zeitlin
f607434a0f check the radio buttons when they get focus (closes 777500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 15:09:13 +00:00
Vadim Zeitlin
2e622163d0 wxHTTP::GetResponse() added (patch 794394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:55:32 +00:00
Vadim Zeitlin
0ae0bb792b fix after patch 802882
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 18:34:57 +00:00
Vadim Zeitlin
ace3ed2ef0 exchanged the base classes order, wxObject must be always first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:34:01 +00:00
Vadim Zeitlin
6f6f938f3a derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:31:06 +00:00
Mattia Barbon
e4ffab299a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 13:34:49 +00:00
Vadim Zeitlin
cb07c54412 (blind) compilation fix after recent KeywordSearch changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 23:53:56 +00:00
Vadim Zeitlin
7411f983f1 wxTextCtrl::GetValue() lost (replaced with question marks) all characters not in the current encoding -- but now it shouldn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:21:48 +00:00
Vadim Zeitlin
8b04d4c451 added wxCSConv ctor taking wxFontEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:18:06 +00:00
Vadim Zeitlin
9806a823b0 attemps to make wxStreamToTextRedirector work with more (broken) compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:17:38 +00:00
Vadim Zeitlin
0bc9347069 include wx/encinfo.h, not wx/fontenc.h, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:15:55 +00:00
Vadim Zeitlin
48f9e8107a extracted wxNativeEncodingInfo in a separate file to be able to include wx/fontenc.h from wx/strcov.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:04:15 +00:00
Mattia Barbon
2fcce89663 Compilation fix for wxUSE_DRAG_AND_DROP==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:44:42 +00:00
Vadim Zeitlin
5a41643a8d linking fix (removed unused virtual methods declarations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 11:55:32 +00:00
Julian Smart
c27be5db0b Added SQLTCHAR for non-Windows platforms, and added missing
wxFputs to wxchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 10:59:14 +00:00
Robin Dunn
4a65f2c80d Added DoDragOver and DoDropText from Angelo Mandato, and ensured that
my unicode LoadFile/SaveFile changes were in the .in file this time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:28:25 +00:00
Vadim Zeitlin
86c8acb774 don't redefine wxUSE_UNICODE if already defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:13:45 +00:00
Julian Smart
8a39593ebe Applied patch [ 808050 ] fixes for WXUNIVERSAL and UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:03:09 +00:00
Julian Smart
f7d4537c2b Added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 12:03:04 +00:00
Václav Slavík
8b0f8432d7 wxMGL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 10:55:44 +00:00
Václav Slavík
752464f9f3 wxMGL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 10:01:59 +00:00
Robin Dunn
88a8b04e9c Updated to Scintilla 1.54
Applied most of patch #806092
Added new wxSTC sample from Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 05:05:52 +00:00
Vadim Zeitlin
1c62463166 moved all event handlers callign code in ProcessEventIfMatches() instead of triplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:35:36 +00:00
Vadim Zeitlin
4300caa7a6 added OnExit(); made event loop exception safe; added wxModalEvtLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:32:32 +00:00
Vadim Zeitlin
883117d126 added HandleEvent() to allow handle exceptions in event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:30:53 +00:00
Vadim Zeitlin
38f1526768 added tied scoped pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 17:27:36 +00:00
Vadim Zeitlin
f0658b1e1e corrected wxCATCH_ALL usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 17:09:23 +00:00
Vadim Zeitlin
5800b5bed6 use wxON_BLOCK_EXIT instead of just ON_BLOCK_EXIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 16:59:40 +00:00
Vadim Zeitlin
2524f1ce36 added some trivial macros for exception handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 12:06:36 +00:00
Vadim Zeitlin
252e57cee2 added wxUSE_STL and wxUSE_XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 10:40:18 +00:00
Vadim Zeitlin
c37dc21c19 added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 10:39:09 +00:00
Mattia Barbon
e6b9830a06 wxX11 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 21:02:22 +00:00
Vadim Zeitlin
6757b5e31c fixed modal dialogs after event loop change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 12:30:34 +00:00
Vadim Zeitlin
fb761cd53c (blind) fix for wxMac compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 10:52:57 +00:00
Vadim Zeitlin
f2108ede7c no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:55:17 +00:00
Vadim Zeitlin
ac8d0c118b added wxVALIDATOR_PARAM and use it to avoid warnings about unused validators when wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:54:51 +00:00
Vadim Zeitlin
1bf77ee556 use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Vadim Zeitlin
f8ba082ece added check for wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:14:28 +00:00
Vadim Zeitlin
d83eeece0e added and documented wxDEFINE_SCOPED_PTR_TYPE; improved docs a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 16:10:06 +00:00
David Elliott
cdd0a08f32 Clean up comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 15:22:45 +00:00
Vadim Zeitlin
4199367e9c added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 13:00:34 +00:00
Julian Smart
419430a0c0 WinCE bitmap patch from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 08:55:19 +00:00
Julian Smart
93f467a3b4 Changed version to 2.5.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:39:34 +00:00
Vadim Zeitlin
ef0120c1bb disabled (conditionally) separating static line; improved borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:37:35 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Vadim Zeitlin
5db8d758b8 fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 16:06:27 +00:00
Vadim Zeitlin
11ebea162a added wxListCtrl::GetViewRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 15:58:41 +00:00
Stefan Csomor
e802b32a26 fixed GetFilenames bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 14:02:54 +00:00
Mattia Barbon
18dbdd3c27 wxUniversal STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 12:14:20 +00:00
Stefan Csomor
7323387564 unicode correction for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 09:00:28 +00:00
Robin Dunn
2dbc444a19 Move more stuff into base for wxMac so that two level namespace dylibs
can be used on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Mattia Barbon
7db33cc310 Added, documented and used wxGridCellChoiceEditor
taking wxArrayString.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:11:01 +00:00
Mattia Barbon
3bdb8629f8 No real changes, just refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:05:19 +00:00
Mattia Barbon
d122f8c745 wxX11 STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:01:31 +00:00
Julian Smart
f8252483ec Applied patch [ 803473 ] wxListCtrl header height bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 15:38:38 +00:00
Julian Smart
85b88942cc Applied patch [ 778625 ] wxSVGFileDC and UNICODE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 10:05:32 +00:00
Julian Smart
0e4acbd463 Applied patch [ 794760 ] Majority of "... hides virtual function ..." removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 09:58:31 +00:00
Mattia Barbon
0bd4d463e6 Don't declare copystring if WXWIN_COMPATIBILITY_2_4==0
(like in include/wx/utils.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 20:57:17 +00:00
Vadim Zeitlin
521e585ff1 added LVM_SETUNICODEFORMAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 15:06:44 +00:00
Václav Slavík
506c7b5b69 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 07:55:34 +00:00
Vadim Zeitlin
6a6aa79855 copy milliseconds in Set() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:17:30 +00:00
Václav Slavík
69b5cec2b0 applied Otto Wyss' patch to extend wxHelpController::KeywordSearch with mode argument (modified to the point of reimplementation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 17:29:11 +00:00
Stefan Csomor
f825dcd123 fix for CW non unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:34:15 +00:00
Stefan Csomor
5524d92aaa wxID_PREFERENCES added for the preferences menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:32:35 +00:00
David Elliott
11573ad882 Implement wxSpinButton (except up/down events)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:03:31 +00:00
David Elliott
e0c691d13c Provide target/action mechanism for subclasses to use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:00:45 +00:00
David Elliott
b66e98539f Implement (sort-of) non-client wxWindowDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:42:40 +00:00
David Elliott
514e7b7bf8 Added virtual GetNonClientNSView()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:37:58 +00:00
David Elliott
080c7d56e0 * Added NSWindowStyleForWxStyle static method
* Create(): Handle window styles and initial frame size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:51:38 +00:00
Stefan Csomor
f7476b53e6 setter fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:21:36 +00:00
Stefan Neis
d4ca5c8c7b Insure that messages are posted to the main threads event loop,
instead of sending them to the thread-local event loop
        (which typically does not exist under wxWindows).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 17:50:12 +00:00
David Elliott
1f4e686615 Override CocoaSetEnabled because it's not an NSControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 19:10:22 +00:00
David Elliott
3529fcc96a wxCocoa: CodeWarrior (like GCC) mangles struct X and @class X identically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:36:51 +00:00
David Elliott
3099646e86 wxCocoa: Added NSNotification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:32:21 +00:00
David Elliott
f154ff6018 Implement wxChoice including sorting and client data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 00:33:02 +00:00
David Elliott
363f7de02b Implement wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:40:00 +00:00
David Elliott
faad188707 Override CocoaSetEnabled. NSProgressIndicator is not an NSControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:19:11 +00:00
David Elliott
1981118d4b Works a little better when you remember to say "virtual"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 15:29:17 +00:00
David Elliott
af27ce842e Changed CocoaNotification parameter names to notification from userInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:59:51 +00:00
David Elliott
bcf0148786 Added ability to observe NSMenu notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:50:31 +00:00
David Elliott
605c7e7ed8 * Move m_cocoaNSMenu out of wxCocoaNSMenu and into wxMenu and wxMenuBar
* Comment out wxPoserNSMenu (it's not needed for now, may never be)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:00:53 +00:00
David Elliott
456fef85bb Implement Cocoa_canBecomeMainWindow to say YES to Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:40:52 +00:00
David Elliott
24c7767fc8 * Added GetAppMenuBar
* Removed Show
* Labeled (Attach|Detach)MenuBar as virtual
* Added SetMenuBar
* Implement (Attach|Detach)MenuBar using the wxMenuBarManager


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:39:55 +00:00
David Elliott
33faea0a0d * Added virtual GetAppMenuBar() which returns the app-wide menubar which
would be appropriate for this window, or NULL if the manager should decide
* Added Become/Resign Main handlers
* For all Become/Resign Main/Key handlers, notify the menubar manager


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 21:16:41 +00:00
David Elliott
8fc821cccf * Added delegate notifications for Become/Resign Main
* Added canBecomeMainWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 20:59:30 +00:00
David Elliott
268bec5aee Added wxMenuBarManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 19:19:03 +00:00
Stefan Csomor
8f2b1cfd39 log changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 16:18:07 +00:00
Stefan Csomor
9dabddc292 naming changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:08:25 +00:00
Stefan Csomor
79fdfb3506 added GetBaseClassName1 and 2 for memory.cpp compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 10:02:47 +00:00
Václav Slavík
5d9d22fe08 accept focus, keyboard can be used for navigation (patch 798098)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 20:59:57 +00:00
Mattia Barbon
e21011866e Corrected statements about wxString correctly handling
embedded '\0' characters.
  Fixed various wxString::*find* methods (patch by Robert Vazan),
plus added missing overloaded variants of find_first/last_(not_)of.
Added more tests in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 20:20:21 +00:00
Stefan Neis
48c82007d3 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 22:35:24 +00:00