src/windows/native/sun/windows/awt_Frame.h
Print this page
@@ -70,10 +70,12 @@
/* Create a new AwtFrame. This must be run on the main thread. */
static AwtFrame* Create(jobject self, jobject parent);
/* Returns whether this frame is embedded in an external native frame. */
INLINE BOOL IsEmbeddedFrame() { return m_isEmbedded; }
+ /* Returns whether this frame is lightweight. */
+ INLINE virtual BOOL IsLightweightFrame() { return m_isLightweight; }
INLINE BOOL IsSimpleWindow() { return FALSE; }
/* Returns whether this window is in iconified state. */
INLINE BOOL isIconic() { return m_iconic; }
@@ -167,10 +169,13 @@
AwtMenuBar* menuBar;
/* The frame is an EmbeddedFrame. */
BOOL m_isEmbedded;
+ /* The frame is a LightweightFrame */
+ BOOL m_isLightweight;
+
/* used so that calls to ::MoveWindow in SetMenuBar don't propogate
because they are immediately followed by calls to Component.resize */
BOOL m_ignoreWmSize;
/* tracks whether or not menu on this frame is dropped down */