Package Gnumed :: Package wxGladeWidgets :: Module wxgEditDocumentTypesDlg |
[frames] | no frames]

# Source Code for Module Gnumed.wxGladeWidgets.wxgEditDocumentTypesDlg

     1  #!/usr/bin/env python
     2  # -*- coding: ISO-8859-15 -*-
     3  # generated by wxGlade 0.4cvs on Thu Jul  6 14:13:37 2006
     4
     5  import wx
     6
     7 -class wxgEditDocumentTypesDlg(wx.Dialog):
     8 -    def __init__(self, *args, **kwds):
     9
    10          from Gnumed.wxpython import gmDocumentWidgets
    11
    12          # begin wxGlade: wxgEditDocumentTypesDlg.__init__
    13          kwds["style"] = wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER|wx.MAXIMIZE_BOX|wx.MINIMIZE_BOX|wx.THICK_FRAME
    14          wx.Dialog.__init__(self, *args, **kwds)
    15          self._PNL_edit_document_types = gmDocumentWidgets.cEditDocumentTypesPnl(self, -1)
    16
    17          self.__set_properties()
    18          self.__do_layout()
    19          # end wxGlade
    20
    21 -    def __set_properties(self):
    22          # begin wxGlade: wxgEditDocumentTypesDlg.__set_properties
    23          self.SetTitle(_("Edit Document Types"))
    24          self.SetSize((400, 400))
    25          # end wxGlade
    26
    27 -    def __do_layout(self):
    28          # begin wxGlade: wxgEditDocumentTypesDlg.__do_layout
    29          _szr_main = wx.BoxSizer(wx.VERTICAL)
    30          _szr_main.Add(self._PNL_edit_document_types, 1, wx.ALL|wx.EXPAND, 3)
    31          self.SetAutoLayout(True)
    32          self.SetSizer(_szr_main)
    33          self.Layout()
    34          self.Centre()
    35          # end wxGlade
    36
    37  # end of class wxgEditDocumentTypesDlg
    38