]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/topluniv.cpp
implemented wxSS::GetMetric on wxGTK2 (patch 950618)
[wxWidgets.git] / src / univ / topluniv.cpp
index 834c7e516c529d7a12b8b38fe2c16b1bb6e19ef5..dea87cf2f57191bb03c0865c44c1035d6f4acae9 100644 (file)
@@ -59,24 +59,6 @@ WX_FORWARD_TO_INPUT_CONSUMER(wxTopLevelWindow)
 int wxTopLevelWindow::ms_drawDecorations = -1;
 int wxTopLevelWindow::ms_canIconize = -1;
 
-wxTopLevelWindow::wxTopLevelWindow()
-{
-    Init();
-}
-
-wxTopLevelWindow::wxTopLevelWindow(wxWindow *parent,
-                                   wxWindowID id,
-                                   const wxString& title,
-                                   const wxPoint& pos,
-                                   const wxSize& size,
-                                   long style,
-                                   const wxString& name)
-{
-    Init();
-
-    Create(parent, id, title, pos, size, style, name);
-}
-
 void wxTopLevelWindow::Init()
 {
     m_isActive = FALSE;
@@ -256,7 +238,7 @@ void wxTopLevelWindow::DoSetClientSize(int width, int height)
         wxTopLevelWindowNative::DoSetClientSize(width, height);
 }
 
-void wxTopLevelWindow::OnNcPaint(wxPaintEvent& event)
+void wxTopLevelWindow::OnNcPaint(wxNcPaintEvent& event)
 {
     if ( !ms_drawDecorations || !m_renderer )
         event.Skip();