Vadim Zeitlin
f627fbee50
don't use fall back if we had already found the MIME type (patch 769826)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:50:04 +00:00
Vadim Zeitlin
f252f8c35d
allocate string freed with free() later using malloc(), not new[] (fixes patch 772404)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:44:15 +00:00
Václav Slavík
ace0fab4f1
remove extra space at top and bottom of the page if present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:11:10 +00:00
Ryan Norton
c0a7edde10
Tcl regex lib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 22:03:51 +00:00
Václav Slavík
27ce9aef53
added wxBU_EXACTFIT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 21:10:20 +00:00
Julian Smart
8651867dbc
Different test for previously subclassed, for WinCE
...
(comparing WndProcs just doesn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 20:40:57 +00:00
Julian Smart
2077b14882
Reordered winundef.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 20:34:46 +00:00
David Elliott
ce319b6d1b
Implement GetLabel and SetLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 14:54:59 +00:00
Václav Slavík
67158ef673
removed GetHorizontalConstraints -- no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:04:37 +00:00
Václav Slavík
8c571f4650
tables can no longer be smaller than sum of their columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:00:58 +00:00
Vadim Zeitlin
5595986d65
compilation fix (missing wx/winundef.h)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 09:58:59 +00:00
Vadim Zeitlin
f83aa7771c
really fixed compilation for old imagehlp.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 23:54:37 +00:00
Vadim Zeitlin
0b7824d78a
attempt to fix compilation for old imagehlp.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:59:57 +00:00
Julian Smart
42d11c8e66
Compile with EVC 3.0 2002
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:28:21 +00:00
Vadim Zeitlin
ce39c39e1f
we don't use wxUSE_FILENAME any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 20:49:39 +00:00
Václav Slavík
9ed0d735d5
added <windows.h> wrapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:52:32 +00:00
Václav Slavík
b6d93b260e
don't break lines in the middle of word
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:39:09 +00:00
Václav Slavík
515e94a608
cut-and-paste is not good idea, removed duplicated code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 16:47:07 +00:00
David Elliott
71bfb73508
Added wxAutoNSAutoreleasePool to DoGetBestSize method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:27:59 +00:00
David Elliott
c36a70f13c
Added wxAutoNSAutoreleasePool to Create method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:25:20 +00:00
David Elliott
e51c36de5a
Use wxAutoNSAutoreleasePool in Create() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:15:52 +00:00
David Elliott
e92ea62916
SetStringSelection: wxString& should be const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:10:24 +00:00
David Elliott
7c9428abfd
Added some stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:55:52 +00:00
David Elliott
24e97652b0
wxCocoa: Added wxGauge
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:04:22 +00:00
Julian Smart
0be9ace27e
Added RTL functions missing from WinCE to wxchar.h/cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:46:39 +00:00
Julian Smart
529b7f71bd
Small tweaks for WinCE compatibility
...
Use generic folder dialog for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:15:48 +00:00
Julian Smart
1dedb80b26
Added missing functions WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 11:48:15 +00:00
Václav Slavík
b7e8f408c9
reverted two previous Julian's changes, they were incorrect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 11:04:34 +00:00
Julian Smart
e2b6d07d7a
Added call to top-level window OnInternalIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:24:30 +00:00
Julian Smart
b8d6102177
Fixed out by one error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:10:37 +00:00
David Elliott
1c54c79268
After calling sizeToFit, round the size up to the next integer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 18:59:05 +00:00
David Elliott
addbdd2985
wxSpinCtrl abuses m_isShown. Don't use it for any logic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 18:10:47 +00:00
David Elliott
768d9ec8ca
wxCocoa: Added wxSpinButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 17:33:36 +00:00
David Elliott
2ee09b5562
Added wxUSE_COMBOBOX guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:06:52 +00:00
David Elliott
a6660cbb74
Fixed file header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:00:27 +00:00
David Elliott
421a84317f
wxCocoa: Added basic (i.e. not working) implementation of wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:58:33 +00:00
David Elliott
8343764860
Added wxButtonBase::GetDefaultSize stub
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:22:42 +00:00
Mattia Barbon
d794dcb6d9
Use wxApp::ProcessIdle() instead of wxApp::SendIdleEvents().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:18:03 +00:00
David Elliott
bd3e8827dd
Commented out wxAutoNSAutoreleasePool in CallOnInit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:19:50 +00:00
David Elliott
7fc77f30f4
Put wxAutoNSAutoreleasePool in methods that may be used outside the run loop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:10:32 +00:00
David Elliott
493902ac5b
Use the new wx/cocoa/autorelease.h header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:05:19 +00:00
Julian Smart
8b532f8c3d
SendIdleEvents -> ProcessIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 09:09:00 +00:00
Julian Smart
955a919785
Rationalised OnIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
David Elliott
9977626de4
Put OnIdle() back. Without deleting pending objects, frames that have
...
been Destroy()ed (e.g. by the default close implementation) never actually
get deleted and thus the program never terminates because the
wxTopLevelWindowBase destructor is never called to do ExitMainLoop()
FIXME: Why isn't this OnIdle stuff simply in wxAppBase?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:48:20 +00:00
David Elliott
6a9afc7adf
In the object destructor, Disassociate the object from its Cocoa counterpart
...
but leave m_cocoaNSWindow intact so base class destructor can use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:04:37 +00:00
David Elliott
fe169919d8
In destructor, pass the NSView ownership to the base class
...
Avoid extra if tests now that Associate/Disassociate do the test themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:02:04 +00:00
David Elliott
bc34fa2617
Call -[NSApplication stop] instead of terminate. The stop message will
...
return to the caller allowing processing to continue until all events
have been processed. Make sure that no more idle events are installed
by checking -[NSApplication isRunning].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 02:46:12 +00:00
Vadim Zeitlin
5b72b34401
removed OnIdle() which didn't compile any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 00:50:57 +00:00
Vadim Zeitlin
28b4db7f89
ugly fix for warnings when wxUSE_STL==0 not breaking compilation when wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 22:53:49 +00:00
Vadim Zeitlin
e483f439b7
added crashrpt.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:31:23 +00:00