Ticket #4699: win32_fs.patch

File win32_fs.patch, 871 bytes (added by andrei@…, 16 years ago)
  • libs/libmythui/mythmainwindow.cpp

     
    586586    flags |= WResizeNoErase;
    587587#endif
    588588
     589#if defined(USE_OPENGL_PAINTER) && defined(_WIN32)
     590    if (!d->does_fill_screen) {
     591        flags |= WStyle_Title | WStyle_SysMenu | WStyle_Minimize;
     592    }
     593    //QGLWidget::reparent is not implemented in QT3/Win32
     594    setCaption("MythTV Frontend");
     595    clearWFlags(getWFlags());
     596    setWFlags(flags);
     597    clearWState(WState_Created);
     598    create(winId(), true, false);
     599    clearWState(WState_Visible);
     600    move(d->xbase, d->ybase);
     601#else
    589602    reparent(parentWidget(), flags, pos());
     603#endif
    590604
    591605    /* FIXME these two lines should go away */
    592606    setFont(gContext->GetMediumFont());