Use QFrame instead of QScrollArea for panels

This commit is contained in:
Grégory Soutadé 2011-10-31 10:56:46 +01:00
parent 29c1f6b9ba
commit ab27c553a8

View File

@ -92,11 +92,11 @@ private:
void LoadPanels();
};
class KissPanel: public QScrollArea
class KissPanel: public QFrame
{
public:
KissPanel(KissCount* kiss, wxUI* parent) :
QScrollArea(static_cast<QWidget*>(parent)),
QFrame(static_cast<QWidget*>(parent)),
_kiss(kiss),
_wxUI(parent),
_KissButton(0)