Vadim Zeitlin
9d55bfef2c
don't use 8 bit characters in sources, this results in level 1 warning with VC8 (patch 1841741)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 22:09:26 +00:00
Vadim Zeitlin
6f457a7735
don't make the dialog 3 times as wide as the length of the label string, this is excessive (bug 1824673)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 16:11:08 +00:00
Vadim Zeitlin
c4c6ada953
remove the unneeded +1 from wxGauge::SetValue() call in Update()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:11:08 +00:00
Paul Cornett
e8a301af2e
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:54:57 +00:00
Vadim Zeitlin
2229243bdf
added wxDialog::GetParentForModalDialog() and use it to try to always create modal dialogs with a parent (slightly modified patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:34:41 +00:00
Julian Smart
6714afd94c
Correct too-small size when the progress dialog is very simple
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-06 10:06:56 +00:00
Vadim Zeitlin
f4aa7ec32b
small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Robert Roebling
fe8635a7e7
Applied wxGauge:Pulse() patch.
...
[ 1551409 ] Support for indeterminate mode gauges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Włodzimierz Skiba
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Michael Wetherell
8d7eaf9140
Warning fixes for VC5 (Igor Korot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
60ad766eb5
[1178593] Outdated exclamation mark.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 14:52:22 +00:00
Julian Smart
94f5392355
Standard dialogs becoming useable on WinCE.
...
Make standard button sizer horizontal on WinCE since
vertically it looks atrocious (app will need to reduce
number of buttons if they don't fit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 15:37:09 +00:00
Włodzimierz Skiba
9a2256da18
Use stock labels for Smartphone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:22:06 +00:00
Włodzimierz Skiba
69c695466d
Removed all duplicated and complicated #ifdefs for enabling Skip and Abort in progress dialog (Smartphone fixes).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:37:42 +00:00
Włodzimierz Skiba
3786ce5ad8
GCC warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 14:20:53 +00:00
Włodzimierz Skiba
ecda94753a
wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-30 15:07:28 +00:00
Włodzimierz Skiba
9a35701127
Hardware defines spec.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 17:29:37 +00:00
Włodzimierz Skiba
d2cdad17e3
Smartphone native look and feel.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 08:39:47 +00:00
Jouk Jansen
ce07cd8a75
Committing in .
...
Changes to make compilations on OpenVMS work:
displayx11.h : one semicolon removed, since it is not needed
progdlgg.cpp : On some systems (like OpenVMS) unsigned types are realy
unsigned. So a comparison unsigned_var < 0 is always
false and causes unreacheable code, which is flagged
by the compiler. In this case a change from unsigned long
to long was more what was intended here.
Modified Files:
wxWidgets/include/wx/unix/displayx11.h
wxWidgets/src/generic/progdlgg.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 06:29:21 +00:00
Vadim Zeitlin
837adaa922
don't assert if Update(m_maximum) is called twice (replaces patch 995186)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:06:55 +00:00
Vadim Zeitlin
2c5ef4e2cb
smoother time estimation updates in wxProgressDialog (patch 992813)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:04:38 +00:00
Václav Slavík
5f7bcb48fd
new stock buttons API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Václav Slavík
c50e42a122
use stock buttons in generic dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:48:44 +00:00
Włodzimierz Skiba
b591b7cf2b
Removed unused variable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:35:51 +00:00
Václav Slavík
0ca3b64f14
use sizers instead of constraints in wxProgressDialog (patch 980364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 10:15:36 +00:00
Robin Dunn
2706d2fede
fixed compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 18:50:19 +00:00
Vadim Zeitlin
b529769179
fill up the gauge when Update(maximum) is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 10:46:12 +00:00
Dimitri Schoolwerth
dabbc6a5a1
removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Vadim Zeitlin
6258e418a0
disable the first top level parent, not the topmost top level parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:27:58 +00:00
Dimitri Schoolwerth
2a21ac1590
applied patch #935127 : "wxDIALOG_MODAL and wxDIALOG_MODELESS cleaning"; some cosmetic cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 12:44:56 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
1d1c3a9fda
got rid of some ifdefs; added comment explaining why wxYield() is really needed and Update() is not enough
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 12:55:41 +00:00
Stefan Csomor
822fc380b8
replaced Yield with YieldIfNeeded for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 07:04:32 +00:00
Stefan Csomor
f89d65ea8d
mac fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 08:51:10 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Mattia Barbon
a87758e451
Fix warning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:38:18 +00:00
Stefan Csomor
fd9655adba
overflow fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:30:20 +00:00
Julian Smart
7d1dcec23a
Applied [ 652962 ] wxProgressDialog::Show(FALSE) bug
...
This fixes the problem where the application windows
were not being enabled prior to the progress dialog
being hidden in the situation where wxPD_AUTO_HIDE
was not used or was used but the end count was never
reached. This causes random applications to be
activated and brought to the front on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:57:48 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
bbcd408aa7
Removed warnings from ipcbase.cpp
...
Removed extra wxYields from progress dialog
Yield on wxX11 yields twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:02:36 +00:00
Vadim Zeitlin
ff095200f7
fix for losing focus under Windows after showing the progress dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 23:08:37 +00:00
David Webster
94640e0414
Some OS/2 Updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 03:34:32 +00:00
Vadim Zeitlin
db1a42b874
(re)enable Cancel button in Resume()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:08:39 +00:00
Vadim Zeitlin
7086987f11
don't reenable the disabled windows in OnShow(), it is unnecessary and the code there was buggy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 12:54:09 +00:00
Julian Smart
868741e9d3
Put dialog in more sensible place in Forty, got a bit further
...
with running it under wxX11 but still crashes (bad XPM?)
Updated wxX11 readme text
Added more wxYields to progress dialog
Added timer and idle processing to wxApp::Yield for X11
Made busy info dialog thick frame for wxX11, else
no decorations
Some corrections for Nano-X
Made text for busy dialog more sensible in dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 13:10:17 +00:00
Vadim Zeitlin
e269a9be19
minor fix to the constraints of the cancel button to improve its sizing under wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:33:05 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00