# -*- coding: UTF-8 -*-
#
# generated by wxGlade
#

import wx

# begin wxGlade: dependencies
import gettext
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class wxgOrganizationManagerDlg(wx.Dialog):
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgOrganizationManagerDlg.__init__
		kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
		wx.Dialog.__init__(self, *args, **kwds)
		self.SetSize((875, 519))
		from Gnumed.wxpython.gmOrganizationWidgets import cOrganizationsManagerPnl
		self._PNL_orgs = cOrganizationsManagerPnl(self, wx.ID_ANY)
		from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitsManagerPnl
		self._PNL_units = cOrgUnitsManagerPnl(self, wx.ID_ANY)
		from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitAddressPnl
		self._PNL_address = cOrgUnitAddressPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)
		from Gnumed.wxpython.gmContactWidgets import cCommChannelsManagerPnl
		self._PNL_comms = cCommChannelsManagerPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)
		from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitIDsMgrPnl
		self._PNL_ids = cOrgUnitIDsMgrPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)

		self.__set_properties()
		self.__do_layout()
		# end wxGlade

	def __set_properties(self):
		# begin wxGlade: wxgOrganizationManagerDlg.__set_properties
		self.SetTitle(_("Managing Organizations and their units."))
		self.SetSize((875, 519))
		# end wxGlade

	def __do_layout(self):
		# begin wxGlade: wxgOrganizationManagerDlg.__do_layout
		__szr_main = wx.BoxSizer(wx.HORIZONTAL)
		__szr_unit_details = wx.BoxSizer(wx.VERTICAL)
		__szr_orgs_units = wx.BoxSizer(wx.VERTICAL)
		__szr_orgs_units.Add(self._PNL_orgs, 2, 0, 5)
		__szr_orgs_units.Add(self._PNL_units, 1, 0, 5)
		__szr_main.Add(__szr_orgs_units, 1, wx.ALL, 5)
		__szr_unit_details.Add(self._PNL_address, 2, wx.EXPAND | wx.LEFT, 5)
		__szr_unit_details.Add(self._PNL_comms, 3, wx.EXPAND | wx.LEFT, 1)
		__szr_unit_details.Add(self._PNL_ids, 3, wx.EXPAND | wx.LEFT, 1)
		__szr_main.Add(__szr_unit_details, 3, wx.BOTTOM | wx.RIGHT | wx.TOP, 5)
		self.SetSizer(__szr_main)
		self.Layout()
		# end wxGlade

# end of class wxgOrganizationManagerDlg
