35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
#include <assert.h> |
39 |
#include <QWidget> |
#include <QWidget> |
40 |
#include <gnu_java_awt_peer_qt_QtMenuComponentPeer.h> |
#include <gnu_java_awt_peer_qt_QtMenuComponentPeer.h> |
41 |
#include "nativewrapper.h" |
#include "nativewrapper.h" |
50 |
{ |
{ |
51 |
mainThread->postEventToMain( new AWTInitEvent( env, obj ) ); |
mainThread->postEventToMain( new AWTInitEvent( env, obj ) ); |
52 |
// wait for the thing to be created. |
// wait for the thing to be created. |
|
while(getNativeObject(env, obj) == 0); |
|
53 |
} |
} |
54 |
|
|
55 |
/* |
/* |