Annotation of nono/wx/wxsubwindow.cpp, revision 1.1

1.1     ! root        1: //
        !             2: // nono
        !             3: // Copyright (C) 2018 [email protected]
        !             4: //
        !             5: 
        !             6: #include "wxheader.h"
        !             7: #include "wxmainframe.h"
        !             8: #include "wxsubwindow.h"
        !             9: 
        !            10: //
        !            11: // サブウィンドウ
        !            12: //
        !            13: 
        !            14: // イベントテーブル
        !            15: wxBEGIN_EVENT_TABLE(WXSubWindow, inherited)
        !            16:        EVT_CLOSE(WXSubWindow::OnClose)
        !            17: wxEND_EVENT_TABLE()
        !            18: 
        !            19: // コンストラクタ (スタイル指定あり)
        !            20: WXSubWindow::WXSubWindow(wxWindow *parent, wxWindowID id, const wxString& name,
        !            21:        int style)
        !            22:        : inherited(parent, id, name, wxDefaultPosition, wxDefaultSize, style)
        !            23: {
        !            24: }
        !            25: 
        !            26: // コンストラクタ (スタイル指定なし)
        !            27: WXSubWindow::WXSubWindow(wxWindow *parent, wxWindowID id, const wxString& name)
        !            28:        : WXSubWindow(parent, id, name, DEFAULT_STYLE)
        !            29: {
        !            30: }
        !            31: 
        !            32: // デストラクタ
        !            33: WXSubWindow::~WXSubWindow()
        !            34: {
        !            35: }
        !            36: 
        !            37: // クローズイベント
        !            38: void
        !            39: WXSubWindow::OnClose(wxCloseEvent& event)
        !            40: {
        !            41:        // ウィンドウリストから自身を削除
        !            42:        gMainFrame->DeleteWindow(GetId());
        !            43: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.