projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove wxSplitterWindow::m_checkRequestedSashPosition.
[wxWidgets.git]
/
include
/
wx
/
gtk
/
minifram.h
diff --git
a/include/wx/gtk/minifram.h
b/include/wx/gtk/minifram.h
index 3f84ec2d67bc5e3108f0d4ba14fcadb4b058686e..de339f016a57a8b0bbbf01cf62e11bc1ffef6db9 100644
(file)
--- a/
include/wx/gtk/minifram.h
+++ b/
include/wx/gtk/minifram.h
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: minifram.h
+// Name:
wx/gtk/
minifram.h
// Purpose: wxMiniFrame class
// Author: Robert Roebling
// RCS-ID: $Id$
// Purpose: wxMiniFrame class
// Author: Robert Roebling
// RCS-ID: $Id$
@@
-7,23
+7,12
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef _
_GTKMINIFRAMEH_
_
-#define _
_GTKMINIFRAMEH_
_
+#ifndef _
WX_GTK_MINIFRAME_H
_
+#define _
WX_GTK_MINIFRAME_H
_
-#include "wx/defs.h"
-
-#if wxUSE_MINIFRAME
-
-#include "wx/object.h"
#include "wx/bitmap.h"
#include "wx/frame.h"
#include "wx/bitmap.h"
#include "wx/frame.h"
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxMiniFrame;
-
//-----------------------------------------------------------------------------
// wxMiniFrame
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// wxMiniFrame
//-----------------------------------------------------------------------------
@@
-39,7
+28,7
@@
public:
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wx
DEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ
,
+ long style = wx
CAPTION | wxRESIZE_BORDER
,
const wxString& name = wxFrameNameStr)
{
Create(parent, id, title, pos, size, style, name);
const wxString& name = wxFrameNameStr)
{
Create(parent, id, title, pos, size, style, name);
@@
-50,19
+39,25
@@
public:
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wx
DEFAULT_FRAME_STYLE | wxTINY_CAPTION_HORIZ
,
+ long style = wx
CAPTION | wxRESIZE_BORDER
,
const wxString& name = wxFrameNameStr);
virtual void SetTitle( const wxString &title );
const wxString& name = wxFrameNameStr);
virtual void SetTitle( const wxString &title );
+
+protected:
+ virtual void DoSetSizeHints( int minW, int minH,
+ int maxW, int maxH,
+ int incW, int incH );
+ virtual void DoGetClientSize(int* width, int* height) const;
+
// implementation
// implementation
-
+public:
bool m_isDragging;
int m_oldX,m_oldY;
int m_diffX,m_diffY;
wxBitmap m_closeButton;
bool m_isDragging;
int m_oldX,m_oldY;
int m_diffX,m_diffY;
wxBitmap m_closeButton;
+ int m_miniEdge;
+ int m_miniTitle;
};
};
-#endif
-
-#endif
- // __GTKMINIFRAMEH__
+#endif // _WX_GTK_MINIFRAME_H_