// Name: laywin.h
// Purpose: interface of wxLayoutAlgorithm
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
It is an alternative way of specifying layouts for which the normal
constraint system is unsuitable.
- @beginEventTable{wxQueryLayoutInfoEvent,wxCalculateLayoutEvent}
+ @beginEventEmissionTable{wxQueryLayoutInfoEvent,wxCalculateLayoutEvent}
@event{EVT_QUERY_LAYOUT_INFO(func)}
- Process a wxEVT_QUERY_LAYOUT_INFO event, to get size, orientation and
+ Process a @c wxEVT_QUERY_LAYOUT_INFO event, to get size, orientation and
alignment from a window. See wxQueryLayoutInfoEvent.
@event{EVT_CALCULATE_LAYOUT(func)}
- Process a wxEVT_CALCULATE_LAYOUT event, which asks the window to take a
+ Process a @c wxEVT_CALCULATE_LAYOUT event, which asks the window to take a
'bite' out of a rectangle provided by the algorithm. See wxCalculateLayoutEvent.
@endEventTable
@param name
Window name.
*/
- wxSashLayoutWindow(wxSashLayoutWindow* parent, wxWindowID id,
+ wxSashLayoutWindow(wxWindow* parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxCLIP_CHILDREN | wxSW_3D,
@beginEventTable{wxQueryLayoutInfoEvent}
@event{EVT_QUERY_LAYOUT_INFO(func)}
- Process a wxEVT_QUERY_LAYOUT_INFO event, to get size, orientation and alignment
+ Process a @c wxEVT_QUERY_LAYOUT_INFO event, to get size, orientation and alignment
from a window.
@endEventTable
};
+wxEventType wxEVT_QUERY_LAYOUT_INFO;
+
/**
@class wxCalculateLayoutEvent
@beginEventTable{wxCalculateLayoutEvent}
@event{EVT_CALCULATE_LAYOUT(func)}
- Process a wxEVT_CALCULATE_LAYOUT event, which asks the window to take a
+ Process a @c wxEVT_CALCULATE_LAYOUT event, which asks the window to take a
'bite' out of a rectangle provided by the algorithm.
@endEventTable
void SetRect(const wxRect& rect);
};
+wxEventType wxEVT_CALCULATE_LAYOUT;
+