diff options
-rw-r--r-- | src/WinButton.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc index 6af0dae..a72b696 100644 --- a/src/WinButton.cc +++ b/src/WinButton.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | /// $Id: WinButton.cc,v 1.17 2004/01/10 00:37:35 rathnor Exp $ | 22 | /// $Id: WinButton.cc,v 1.18 2004/02/27 12:29:13 fluxgen Exp $ |
23 | 23 | ||
24 | #include "WinButton.hh" | 24 | #include "WinButton.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -228,7 +228,7 @@ void WinButton::drawType(bool clear, bool no_trans) { | |||
228 | 228 | ||
229 | if (used || clear) | 229 | if (used || clear) |
230 | FbTk::FbWindow::clear(); | 230 | FbTk::FbWindow::clear(); |
231 | 231 | ||
232 | if (!used && gc() != 0) { // must have valid graphic context | 232 | if (!used && gc() != 0) { // must have valid graphic context |
233 | 233 | ||
234 | drawLine(gc(), | 234 | drawLine(gc(), |
@@ -276,8 +276,8 @@ void WinButton::drawType(bool clear, bool no_trans) { | |||
276 | 276 | ||
277 | break; | 277 | break; |
278 | } | 278 | } |
279 | if ((used || clear) && !no_trans) | 279 | // if ((used || clear) && !no_trans) |
280 | updateTransparent(); | 280 | updateTransparent(); |
281 | } | 281 | } |
282 | 282 | ||
283 | void WinButton::clear() { | 283 | void WinButton::clear() { |