Commit Graph

958 Commits

Author SHA1 Message Date
Karsten Ballüder
8fa2e6a209 Added a generic wxProgressDialog and made wxPostscriptPrinter use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 15:19:45 +00:00
Julian Smart
0f3e3e0c30 Misc. fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 14:49:40 +00:00
Guilhem Lavaux
63496c98fa * Fixed two or three things in sckint.cpp but I still don't manage to
fix the bug in wxSocketInternal::StopWaiter (Main thread hangs in
  wxThreadInternal::Wait). If someone has an idea I would be very happy ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 12:24:13 +00:00
Robert Roebling
31276cb5e7 Applied FreeBSD patch
augmented beta version to 4


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 10:54:11 +00:00
Brian Macy
649ef4c6b4 Reference counted objects should be used *much* more carefully. This was
completely unnecessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 21:21:10 +00:00
Guilhem Lavaux
2a4f27f209 * implemented VZ's idea about creating and destroying bg threads.
(PB with the destruction of waiter: I think it's a race problem but
   I can't localize it if someone finds it please mail it to me)
* Fixed race condition in threadpsx.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 12:18:53 +00:00
Ove Kaaven
57f6da0dec Try to not include ctype functions for win32. Not really tested with
Borland C++, as I don't have the machine with BC++ available right now,
but it should probably be better anyway...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:36:06 +00:00
Guilhem Lavaux
aadbdf11bd * Created a new wxObject method: wxObject::CopyObject(wxObject&)
and wxObject::Clone() uses it.
* Added some CopyObject to events.
* Reenable the idle loop in wxEvtHandler::ProcessThreadEvent(...)
* Some correctness in wxSocket.
   Major bugs remaining:
      - it seems there is a mutex problem when it works too quickly
      - all threads aren't destroyed ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:34:32 +00:00
Robert Roebling
58d1c1ae86 minor fixes
cursor fix for splitter window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 14:30:49 +00:00
Julian Smart
6776a0b25c Some doc corrections; various small fixes for Cygwin and BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 08:38:01 +00:00
Robert Roebling
b0351fc91e added wxStaticLine used in wxMessageBox
added wxNO_BORDER style to radiobox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 21:42:48 +00:00
Karsten Ballüder
aa64626e23 Modified WM hints handling which should be much better now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 21:16:16 +00:00
Ove Kaaven
a55268db33 cWX2MB and cMB2WX should be available even when without wchar_t.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 14:20:05 +00:00
Robert Roebling
fdd3ed7a8f Added scrolling of widgets and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 10:25:38 +00:00
Julian Smart
aeab10d07c wxNotebook fixes for Win16; VC++ 4 fixes for OLE files; wxGA_SMOOTH flag (wxMSW);
wxFRAME_FLOAT_ON_PARENT style for frames (wxMSW) to get traditional MSW behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 08:57:41 +00:00
J. Russell Smyth
944ac90330 Added wxCONFIG_USE_RELATIVE_PATH option to allow config files to be
specified with relative paths


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 05:00:12 +00:00
Robert Roebling
cf724bceea TreeCtrl indentation and spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 23:11:53 +00:00
Robert Roebling
858b5bddf6 Implemented flat toolbars
corrected mouse cursor over splitter window
  corrected segvs when setting bg colour in text ctrl
  sliders enlarge when they have labels to avoid pixel junk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 12:19:16 +00:00
Robert Roebling
15b24b148a Rewrite generic message box
Minor corrections to frame/resizing
  Update for wxPython


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 21:21:35 +00:00
Robert Roebling
ab46dc18ab Added hotkeys to menus "E&xit\tAlt-X" and such.
Added hotkeys to minimal sample. Please on wxMSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 20:13:24 +00:00
Ove Kaaven
c50c1ddcb2 Should compile better if wchar_t is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 17:14:48 +00:00
Robert Roebling
3cdda6cd81 Updated docs, distrib and version
wxGLCanvas now gets keyboard input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 13:53:02 +00:00
Robin Dunn
ca298c8852 Fixed wxValidator::Clone and friends to return a wxObject* to keep
MS VC++ happy


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 02:39:50 +00:00
Guilhem Lavaux
e5e41feafa * Fixed a compilation problem on Windows
* Fully added sckint.cpp to makefile.b32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-27 18:24:37 +00:00
Robert Roebling
e5ea3f7a96 added check for GTK 1.2
added symbol __WXGTK12__  (do not use GTK_MINOR_VERSION in your code
    as this is undefined anywhere outside wxGTK itself)
  updated wxGTK.spec for local builds
  fixed clipboard clear/setdata race
  test for wxConvLocal in dialogs sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 20:48:39 +00:00
Ove Kaaven
5f709e6725 Changed capitalization style of wxConv*
(e.g. wxConv_current is now wxConvCurrent, although I put some #defines
in to still have it compile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:18:30 +00:00
Guilhem Lavaux
a737331db6 * Committing new wxSocket core (socket.cpp sckint.cpp). It has to be improved ...
* Adding sckint.cpp to various makefiles.
* Fixes in threadpsx.cpp (Pause/Resume)
* Fixes in threaded event dispatching
* Added Clone() to wxObject
* Implemented Clone() in wxEvent and wxSocketEvent
* wxSocket sample save the data got from the URL in test.url (this will change)
* As I only tested wxSocket on Linux Redhat 5.2 I disabled it by default on
  Windows, Mac and Unix platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:16:56 +00:00
Robert Roebling
1b3667ab28 Another attempts at getting dialog positions right
Cursor fixes.

  This requires a recompile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 15:14:33 +00:00
Ove Kaaven
a89ae1e485 Heavier checks for wxUSE_WCHAR_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 10:33:43 +00:00
Robert Roebling
1e133b7d64 Backgrounds work again
splitter sample compiles with Unicode
  if a wxClientDC is used on an unrealized widget,
    the widget's realization is forced in wxClientDC
  added underscores to wxMenuBar - don't work..
  tried to figure out why wxFrame doesn't get keyboard input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 15:10:52 +00:00
Ove Kaaven
6f841509ce Uses wxUSE_WCHAR_T for compilers that don't support wchar_t.
Added wx_str() and WXCSTRINGCAST, which should be explicitly defined
to work on wxChar (doesn't look like people want c_str() to be
unconditionally defined as wxChar).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 12:42:55 +00:00
Robert Roebling
b03b33e2e6 DnD with Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 16:00:28 +00:00
Ove Kaaven
434d2cb3c6 Added wxOKlibc(), which checks for glibc2.0, which incorrectly does UTF-8
conversion even when it's not in UTF-8 locale


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 13:57:26 +00:00
Ove Kaaven
d9e89b159c cMB2WX and cWX2MB accepts null pointers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 12:21:03 +00:00
Ove Kaaven
20fd9757ff Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-23 07:30:12 +00:00
Ove Kaaven
107dcfab63 Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 21:54:38 +00:00
Ove Kaaven
b1fa8b4e25 Added operator[] (read-only of course). Borland C++ 4.52 wasn't smart
enough to automatically convert to a pointer for array indexing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 00:31:06 +00:00
Ove Kaaven
4de6207afa Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-21 21:46:02 +00:00
Ove Kaaven
b0bb2669bc Another "char" occurrence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 14:23:27 +00:00
Brian Macy
b86510f8ef Can't figure out why Borland was excluded from DRAG and DROP... anyways, its changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 13:52:19 +00:00
Ove Kaaven
554936c829 Moved that HAVE_WCSTR_H here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:05:44 +00:00
Ove Kaaven
7a3e402c11 ...and my Linux doesn't have wcstr.h. (Including of those files should be
performed in wxchar.h now anyway)
Also encapsulated wxWCharBuffer in #if wxUSE_WCHAR_T


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:05:16 +00:00
Ove Kaaven
81d425f691 Some further changes. Now also sets a wsUSE_WCHAR_T that's set to 0 for
MSVC++ 1.5, and 1 otherwise. You may define it to 0 for other compilers
that don't have wchar_t either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:00:06 +00:00
Karsten Ballüder
851630e4f3 typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:30:53 +00:00
Robert Roebling
8a126fcc34 little doc updates
removed GTK 1.0 Drag'n'Drop
  added (const char*) constructor to wxDataFormat
  added -I pointing to embedded /png and /jpeg dirs
  corrected frame/dialog resizing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:09:15 +00:00
Julian Smart
75737d0570 Fixed wxPostScript printing problem (used wrong constructor, and the right
one was wrong anyway...) Fixed include dir ordering in wxMotif makefiles (wrong version of zlib.h picked up) and added wxchar.cpp to Motif makefile. Changed buffer.h since there's no wchar.h on my system.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 20:43:41 +00:00
Ove Kaaven
65d7724685 Must include wchar.h in non-Unicode build too, since buffer.h depends on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 19:54:58 +00:00
Ove Kaaven
111edd48cc Hmm, seems Borland also doesn't want wchar_t in fopen() and friends
(correct me if I'm wrong?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:27:51 +00:00
Ove Kaaven
e97f6ab64e More wxChar conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:23:09 +00:00
Ove Kaaven
621ae68a13 Those pesky globals declared all over again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:04:57 +00:00